diff --git a/models/contact/src/index.ts b/models/contact/src/index.ts index 8968754944..6aa9e4fba5 100644 --- a/models/contact/src/index.ts +++ b/models/contact/src/index.ts @@ -853,6 +853,11 @@ export function createModel (builder: Builder): void { inlineEditor: contact.component.AccountArrayEditor }) + builder.mixin(core.class.TypeAccountUuid, core.class.Class, view.mixin.AttributePresenter, { + presenter: view.component.PersonIdPresenter, + arrayPresenter: contact.component.AccountArrayEditor + }) + builder.mixin(contact.class.Organization, core.class.Class, view.mixin.ObjectPresenter, { presenter: contact.component.OrganizationPresenter }) diff --git a/models/view/src/index.ts b/models/view/src/index.ts index 76e1958507..d5166ff5af 100644 --- a/models/view/src/index.ts +++ b/models/view/src/index.ts @@ -1300,11 +1300,6 @@ export function createModel (builder: Builder): void { component: view.component.PersonIdFilter }) - builder.mixin(core.class.TypeAccountUuid, core.class.Class, view.mixin.AttributePresenter, { - presenter: view.component.PersonIdPresenter, - arrayPresenter: view.component.PersonArrayEditor - }) - builder.mixin(core.class.TypeAccountUuid, core.class.Class, view.mixin.AttributeFilterPresenter, { presenter: view.component.PersonIdFilterValuePresenter })