mirror of
https://github.com/zadam/trilium.git
synced 2025-11-09 06:45:49 +01:00
rename loadresults methods/properties for clarity that they don't contain entities, only rows
This commit is contained in:
@@ -129,7 +129,7 @@ export default class NoteIconWidget extends NoteContextAwareWidget {
|
||||
return;
|
||||
}
|
||||
|
||||
for (const attr of loadResults.getAttributes()) {
|
||||
for (const attr of loadResults.getAttributeRows()) {
|
||||
if (attr.type === 'label'
|
||||
&& ['iconClass', 'workspaceIconClass'].includes(attr.name)
|
||||
&& attributeService.isAffecting(attr, this.note)) {
|
||||
|
||||
Reference in New Issue
Block a user