diff --git a/models/contact/src/index.ts b/models/contact/src/index.ts index daaa183c0c..e8b6edc5c2 100644 --- a/models/contact/src/index.ts +++ b/models/contact/src/index.ts @@ -164,6 +164,10 @@ export function createModel (builder: Builder): void { editor: contact.component.EditPerson }) + builder.mixin(contact.class.Employee, core.class.Class, view.mixin.ObjectEditor, { + editor: contact.component.EditPerson + }) + builder.mixin(contact.class.Organization, core.class.Class, view.mixin.ObjectEditor, { editor: contact.component.EditOrganization }) diff --git a/plugins/contact-resources/src/components/PersonPresenter.svelte b/plugins/contact-resources/src/components/PersonPresenter.svelte index 1ca02fb20c..e32d26ff3d 100644 --- a/plugins/contact-resources/src/components/PersonPresenter.svelte +++ b/plugins/contact-resources/src/components/PersonPresenter.svelte @@ -15,15 +15,20 @@ -->