diff --git a/packages/frontend-core/src/components/sheet/Sheet.svelte b/packages/frontend-core/src/components/sheet/Sheet.svelte
index 6c3bcfa321..655035287d 100644
--- a/packages/frontend-core/src/components/sheet/Sheet.svelte
+++ b/packages/frontend-core/src/components/sheet/Sheet.svelte
@@ -67,7 +67,7 @@
context = { ...context, ...createMenuStores(context) }
// Reference some stores for local use
- const { isResizing, isReordering, ui } = context
+ const { isResizing, isReordering, ui, loaded } = context
// Keep config store up to date
$: config.set({
@@ -84,6 +84,10 @@
// Expose ability to retrieve context externally to allow sheet control
export const getContext = () => context
+ // Local flag for if the sheet has ever had data
+ let initialised = false
+ loaded.subscribe(state => (initialised = initialised || state))
+
// Initialise websocket for multi-user
onMount(() => createWebsocket(context))
@@ -105,16 +109,18 @@