diff --git a/models/contact/src/index.ts b/models/contact/src/index.ts index 69f980fcf2..b417998587 100644 --- a/models/contact/src/index.ts +++ b/models/contact/src/index.ts @@ -518,11 +518,6 @@ export function createModel (builder: Builder): void { grouppingManager: contact.aggregation.GrouppingPersonManager }) - builder.mixin(contact.mixin.Employee, core.class.Class, view.mixin.ObjectEditor, { - editor: contact.component.EditEmployee, - pinned: true - }) - builder.mixin(contact.class.Organization, core.class.Class, view.mixin.ObjectEditor, { editor: contact.component.EditOrganization, pinned: true diff --git a/models/contact/src/plugin.ts b/models/contact/src/plugin.ts index 869ae5f772..e3189451f8 100644 --- a/models/contact/src/plugin.ts +++ b/models/contact/src/plugin.ts @@ -35,7 +35,6 @@ export default mergeIds(contactId, contact, { ContactRefPresenter: '' as AnyComponent, ContactPresenter: '' as AnyComponent, EditPerson: '' as AnyComponent, - EditEmployee: '' as AnyComponent, EditOrganization: '' as AnyComponent, OrganizationPresenter: '' as AnyComponent, Contacts: '' as AnyComponent, diff --git a/plugins/contact-resources/src/components/EditEmployee.svelte b/plugins/contact-resources/src/components/EditEmployee.svelte deleted file mode 100644 index 61f006ecfb..0000000000 --- a/plugins/contact-resources/src/components/EditEmployee.svelte +++ /dev/null @@ -1,193 +0,0 @@ - - - - - -{#if object !== undefined} -
-
- {#key object} - {#if editable} - - {:else} - - {/if} - {/key} -
-
-
- {#if owner} - - {:else} - {firstName} - {/if} -
-
- {#if owner} - - {:else} - {lastName} - {/if} -
-
- -
-
- - {#if channels === undefined} - - {:else} - - {/if} - -
-
-{/if} - - diff --git a/plugins/contact-resources/src/components/EditPerson.svelte b/plugins/contact-resources/src/components/EditPerson.svelte index ce03e780aa..285cb63187 100644 --- a/plugins/contact-resources/src/components/EditPerson.svelte +++ b/plugins/contact-resources/src/components/EditPerson.svelte @@ -14,8 +14,8 @@ // limitations under the License. -->