From 9139c597e549add45aafdb70f461d6bc39f975d9 Mon Sep 17 00:00:00 2001 From: zadam Date: Thu, 25 Mar 2021 19:46:10 +0100 Subject: [PATCH] use only one label for icon class, fixes #1791 --- src/public/app/entities/note_short.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/public/app/entities/note_short.js b/src/public/app/entities/note_short.js index 1cc4fd376..884b1d98a 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;