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

This commit is contained in:
shamoon
2024-05-09 10:10:11 -07:00
committed by GitHub
parent d461dcbe29
commit 9b3a29cddd

View File

@@ -417,7 +417,7 @@ export class DocumentDetailComponent
owner: doc.owner, owner: doc.owner,
set_permissions: doc.permissions, set_permissions: doc.permissions,
}, },
custom_fields: doc.custom_fields, custom_fields: [...doc.custom_fields],
}) })
this.isDirty$ = dirtyCheck( this.isDirty$ = dirtyCheck(