From 776bdecc2eb75ecadb6b5a21b3bc442a620d887c Mon Sep 17 00:00:00 2001 From: Nassim Tabchiche Date: Thu, 16 May 2024 20:36:19 +0100 Subject: [PATCH] Wrap reassignment in reactive statement --- .../src/routes/(app)/[model=urlmodel]/[id=uuid]/+page.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/routes/(app)/[model=urlmodel]/[id=uuid]/+page.svelte b/frontend/src/routes/(app)/[model=urlmodel]/[id=uuid]/+page.svelte index f2ecad4ce..d4277f1fa 100644 --- a/frontend/src/routes/(app)/[model=urlmodel]/[id=uuid]/+page.svelte +++ b/frontend/src/routes/(app)/[model=urlmodel]/[id=uuid]/+page.svelte @@ -25,7 +25,7 @@ const toastStore: ToastStore = getToastStore(); export let data; - data.relatedModels = Object.fromEntries(Object.entries(data.relatedModels).sort()); + $: data.relatedModels = Object.fromEntries(Object.entries(data.relatedModels).sort()); if (data.model.detailViewFields) { data.data = Object.fromEntries(