mirror of
https://github.com/zadam/trilium.git
synced 2025-10-29 09:16:45 +01:00
create year/month/date labels/relation only when the note is created
This commit is contained in:
@@ -49,6 +49,8 @@ function deriveMime(type, mime) {
|
||||
mime = 'text/plain';
|
||||
} else if (['relation-map', 'search'].includes(type)) {
|
||||
mime = 'application/json';
|
||||
} else if (type === 'render') {
|
||||
mime = '';
|
||||
}
|
||||
|
||||
return mime;
|
||||
|
||||
Reference in New Issue
Block a user