diff --git a/apps/web/src/services/ops-flow/stores/admin/package-store.ts b/apps/web/src/services/ops-flow/stores/admin/package-store.ts index 9e69e0bef3..b1f51eb37a 100644 --- a/apps/web/src/services/ops-flow/stores/admin/package-store.ts +++ b/apps/web/src/services/ops-flow/stores/admin/package-store.ts @@ -75,6 +75,7 @@ export const usePackageStore = defineStore('package', () => { if (prev) prev.is_default = false; const current = state.items?.find((p) => p.package_id === packageId); if (current) current.is_default = true; + if (state.items) state.items = [...state.items]; return response; }, async delete(packageId: string) {