Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
use only one label for icon class, fixes #1791
zadam9139c597e549
diff --git a/src/public/app/entities/note_short.js b/src/public/app/entities/note_short.jsindex 1cc4fd376c..884b1d98a8 100644--- a/src/public/app/entities/note_short.js+++ b/src/public/app/entities/note_short.js@@ -359,7 +359,7 @@ class NoteShort {const workspaceIconClass = this.getWorkspaceIconClass();if (iconClassLabels.length > 0) {- return iconClassLabels.map(l => l.value).join(' ');+ return iconClassLabels[0].value;}else if (workspaceIconClass) {return workspaceIconClass;