improvements in frontend sync (WIP)

This commit is contained in:
zadam
2021-08-25 22:49:24 +02:00
parent 66374bf95f
commit d0747b125c
10 changed files with 77 additions and 70 deletions

View File

@@ -126,7 +126,7 @@ export default class NoteIconWidget extends NoteContextAwareWidget {
for (const attr of loadResults.getAttributes()) {
if (attr.type === 'label'
&& ['iconClass', 'workspaceIconClass'].includes(attr.name)
&& attr.isAffecting(this.note)) {
&& attributeService.isAffecting(attr, this.note)) {
this.refresh();
break;