mirror of
https://github.com/zadam/trilium.git
synced 2025-01-16 20:21:43 +08:00
use only one label for icon class, fixes #1791
This commit is contained in:
parent
942132c01d
commit
9139c597e5
1 changed files with 1 additions and 1 deletions
|
@ -359,7 +359,7 @@ class NoteShort {
|
||||||
const workspaceIconClass = this.getWorkspaceIconClass();
|
const workspaceIconClass = this.getWorkspaceIconClass();
|
||||||
|
|
||||||
if (iconClassLabels.length > 0) {
|
if (iconClassLabels.length > 0) {
|
||||||
return iconClassLabels.map(l => l.value).join(' ');
|
return iconClassLabels[0].value;
|
||||||
}
|
}
|
||||||
else if (workspaceIconClass) {
|
else if (workspaceIconClass) {
|
||||||
return workspaceIconClass;
|
return workspaceIconClass;
|
||||||
|
|
Loading…
Reference in a new issue