Fix: custom field removal doesnt always trigger change detection (#6653)

This commit is contained in:
shamoon authored and GitHub committed 2024-05-09 17:10:11 +00:00
1 parent d461dcbe29
commit 9b3a29cddd
1 file changed
+1 -1
@@ -417,7 +417,7 @@ export class DocumentDetailComponent
owner: doc.owner,
set_permissions: doc.permissions,
},
custom_fields: doc.custom_fields,
custom_fields: [...doc.custom_fields],
})
this.isDirty$ = dirtyCheck(