diff options
Diffstat (limited to 'src/App.svelte')
| -rw-r--r-- | src/App.svelte | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/App.svelte b/src/App.svelte index d19a392..bc9367c 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -77,6 +77,11 @@ return store.layout.providerState === "present"; }, reset: (workspaceId) => store.layout.resetToDefault(workspaceId), + // The plugins modal's per-workspace toggles can change WHICH layout + // plugin serves the workspace (the per-workspace activation rule) — the + // store re-probes only the active workspace (non-active toggles are + // picked up by their own probe on switch). + refresh: (workspaceId) => store.layout.onWorkspacePluginsChanged(workspaceId), }; </script> |
