mirror of
https://github.com/zadam/trilium.git
synced 2025-11-14 01:05:49 +01:00
rename loadresults methods/properties for clarity that they don't contain entities, only rows
This commit is contained in:
@@ -42,7 +42,7 @@ export default class ButtonFromNoteWidget extends CommandButtonWidget {
|
||||
return;
|
||||
}
|
||||
|
||||
if (loadResults.getAttributes(this.componentId).find(attr =>
|
||||
if (loadResults.getAttributeRows(this.componentId).find(attr =>
|
||||
attr.type === 'label'
|
||||
&& attr.name === 'iconClass'
|
||||
&& attributeService.isAffecting(attr, buttonNote))) {
|
||||
|
||||
Reference in New Issue
Block a user