mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 01:36:24 +01:00
book note type has automatically empty mime type
This commit is contained in:
@@ -48,7 +48,7 @@ function deriveMime(type, mime) {
|
||||
mime = 'text/plain';
|
||||
} else if (['relation-map', 'search'].includes(type)) {
|
||||
mime = 'application/json';
|
||||
} else if (type === 'render') {
|
||||
} else if (['render', 'book'].includes(type)) {
|
||||
mime = '';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user