book note type has automatically empty mime type

This commit is contained in:
zadam 2020-01-04 19:34:01 +01:00
parent 571772069a
commit ca587cccf6

View File

@ -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 = '';
}