mirror of
https://github.com/zadam/trilium.git
synced 2025-11-13 00:35:50 +01:00
fixes and optimizations
This commit is contained in:
@@ -32,8 +32,7 @@ function index(req, res) {
|
||||
}
|
||||
|
||||
function getAppCssNoteIds() {
|
||||
return (attributeService.getNotesWithLabels(['appCss', 'appTheme']))
|
||||
.map(note => note.noteId);
|
||||
return attributeService.getNoteIdsWithLabels(['appCss', 'appTheme']);
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
|
||||
Reference in New Issue
Block a user