mirror of
https://github.com/zadam/trilium.git
synced 2025-11-04 20:36:13 +01:00
rename loadresults methods/properties for clarity that they don't contain entities, only rows
This commit is contained in:
@@ -232,7 +232,7 @@ export default class HighlightsListWidget extends RightPanelWidget {
|
||||
async entitiesReloadedEvent({loadResults}) {
|
||||
if (loadResults.isNoteContentReloaded(this.noteId)) {
|
||||
await this.refresh();
|
||||
} else if (loadResults.getAttributes().find(attr => attr.type === 'label'
|
||||
} else if (loadResults.getAttributeRows().find(attr => attr.type === 'label'
|
||||
&& (attr.name.toLowerCase().includes('readonly') || attr.name === 'hideHighlightWidget')
|
||||
&& attributeService.isAffecting(attr, this.note))) {
|
||||
await this.refresh();
|
||||
|
||||
Reference in New Issue
Block a user