mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
fixed runOnAttributeChange event
This commit is contained in:
@@ -273,8 +273,6 @@ eventService.subscribe(eventService.ENTITY_CHANGED, async ({entityName, entityId
|
||||
const hideLabel = await repository.getEntity(`SELECT * FROM attributes WHERE isDeleted = 0 AND type = 'label'
|
||||
AND name = 'archived' AND noteId = ?`, [attribute.noteId]);
|
||||
|
||||
console.log(hideLabel);
|
||||
|
||||
if (hideLabel) {
|
||||
archived[attribute.noteId] = hideLabel.isInheritable ? 1 : 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user