Fix local folder title option refresh race

This commit is contained in:
lix-2026
2026-05-26 17:24:05 +08:00
parent 2c7a91e1fb
commit 58e2fdb5d8
6 changed files with 52 additions and 1 deletions
@@ -648,6 +648,7 @@ export function createSidebarPageSettingsRuntime(context) {
aggregate.layout_options = Object.assign({}, nextOptions);
script.textContent = JSON.stringify(aggregate);
script.setAttribute('data-mnote-page-options-synced-at', String(Date.now()));
script.setAttribute('data-mnote-page-options-local-write-at', String(Date.now()));
}
} catch (_) {}
}