use only one label for icon class, fixes #1791

This commit is contained in:
zadam 2021-03-25 19:46:10 +01:00
parent 942132c01d
commit 9139c597e5

View file

@ -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;