From a4d28d7bcdc88d604398532fb6f0400a0a868deb Mon Sep 17 00:00:00 2001 From: haocyan0723-code Date: Sun, 31 May 2026 04:45:19 +0800 Subject: [PATCH] fix(identities): keep cancel edits out of preview --- src/app/profiles/profiles.lister.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/profiles/profiles.lister.ts b/src/app/profiles/profiles.lister.ts index 21c888f89..6d0e58c37 100644 --- a/src/app/profiles/profiles.lister.ts +++ b/src/app/profiles/profiles.lister.ts @@ -46,7 +46,7 @@ export class ProfilesListerComponent { edit(item): void { this.dialog_ref = this.dialog.open(ProfilesEditorModalComponent, { width: '600px', - data: item, + data: { ...item }, }); this.dialog_ref.componentInstance.is_update = true;