diff --git a/packages/client/src/pages/settings/preferences-registry.vue b/packages/client/src/pages/settings/preferences-registry.vue index c01e4ee83d..916bb30498 100644 --- a/packages/client/src/pages/settings/preferences-registry.vue +++ b/packages/client/src/pages/settings/preferences-registry.vue @@ -187,7 +187,7 @@ function loadFile() { async function applyRegistry(id: string) { if (!registries) return; - const registry = registries[id]; + const registry = structuredClone(registries[id]); const { canceled: cancel1 } = await os.confirm({ type: 'warning',