logseq-automatic-linker
logseq-automatic-linker copied to clipboard
fix: Prevent multiple executions of db.onChanged callback
Issue
When we change a block, logseq.DB.onChanged gets called multiple (3) times.
Solution
This commit adds a guard clause to prevent executing the callback function multiple times for a single block change.