diff --git a/models/contact/src/index.ts b/models/contact/src/index.ts index 2f573809f2..6939c84cf0 100644 --- a/models/contact/src/index.ts +++ b/models/contact/src/index.ts @@ -276,6 +276,11 @@ export function createModel (builder: Builder): void { components: { input: chunter.component.ChatMessageInput } }) + builder.createDoc(activity.class.ActivityExtension, core.space.Model, { + ofClass: contact.class.Member, + components: { input: chunter.component.ChatMessageInput } + }) + builder.mixin(contact.mixin.Employee, core.class.Class, view.mixin.ObjectFactory, { component: contact.component.CreateEmployee }) diff --git a/plugins/contact-resources/src/components/EditOrganizationPanel.svelte b/plugins/contact-resources/src/components/EditOrganizationPanel.svelte index 1fd9e431be..a422138aee 100644 --- a/plugins/contact-resources/src/components/EditOrganizationPanel.svelte +++ b/plugins/contact-resources/src/components/EditOrganizationPanel.svelte @@ -32,7 +32,7 @@ const dispatch = createEventDispatcher() const inboxClient = getResource(notification.function.GetInboxNotificationsClient).then((res) => res()) - const ignoreKeys = ['comments', 'name', 'channels', 'description', 'attachments'] + const ignoreKeys = ['comments', 'name', 'channels', 'description'] let object: Organization | undefined = undefined let lastId: Ref | undefined = undefined @@ -144,6 +144,7 @@ {object} key={{ key: 'description', attr: descriptionKey }} placeholder={core.string.Description} + enableAttachments={false} on:saved={(evt) => { saved = evt.detail }}