From 1ab47a1ff978cb64a6d7eab27840527b96550c2f Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Mon, 18 Nov 2024 07:06:22 -0800 Subject: [PATCH] refac --- src/lib/components/admin/Settings/Models.svelte | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib/components/admin/Settings/Models.svelte b/src/lib/components/admin/Settings/Models.svelte index 4894a8158..1b6b9b9d0 100644 --- a/src/lib/components/admin/Settings/Models.svelte +++ b/src/lib/components/admin/Settings/Models.svelte @@ -58,7 +58,10 @@ const workspaceModel = workspaceModels.find((wm) => wm.id === m.id); if (workspaceModel) { - return workspaceModel; + return { + ...m, + ...workspaceModel + }; } else { return { ...m,