diff --git a/svelte-ui/src/stores/selection.ts b/svelte-ui/src/stores/selection.ts index 7f07f91..c8c91f2 100644 --- a/svelte-ui/src/stores/selection.ts +++ b/svelte-ui/src/stores/selection.ts @@ -29,4 +29,8 @@ function createSelectionStore() { const selectionStore = createSelectionStore(); +window.addEventListener("hashchange", () => { + selectionStore.refresh(); +}); + export default selectionStore; \ No newline at end of file