Fix: custom field removal doesnt always trigger change detection

This commit is contained in:
shamoon 2024-05-09 07:29:22 -07:00
parent d461dcbe29
commit e2b5829cef

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(