mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-24 21:41:30 +08:00
feat(edit-docs): ignore options change
This commit is contained in:
parent
4969cf7d5b
commit
d3cfc1c88b
@ -161,6 +161,10 @@ async function registerHandlers() {
|
|||||||
exportData();
|
exportData();
|
||||||
}, 10_000);;
|
}, 10_000);;
|
||||||
events.subscribe(events.ENTITY_CHANGED, async (e) => {
|
events.subscribe(events.ENTITY_CHANGED, async (e) => {
|
||||||
|
if (e.entityName === "options") {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
console.log("Got entity changed ", e);
|
console.log("Got entity changed ", e);
|
||||||
debouncer();
|
debouncer();
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user