mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-22 19:11:33 +03:00
Add attachments block for companies and comment input for it's members (#5843)
Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
This commit is contained in:
parent
279b04f5b2
commit
c526365e4d
@ -276,6 +276,11 @@ export function createModel (builder: Builder): void {
|
|||||||
components: { input: chunter.component.ChatMessageInput }
|
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, {
|
builder.mixin(contact.mixin.Employee, core.class.Class, view.mixin.ObjectFactory, {
|
||||||
component: contact.component.CreateEmployee
|
component: contact.component.CreateEmployee
|
||||||
})
|
})
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
const dispatch = createEventDispatcher()
|
const dispatch = createEventDispatcher()
|
||||||
const inboxClient = getResource(notification.function.GetInboxNotificationsClient).then((res) => res())
|
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 object: Organization | undefined = undefined
|
||||||
let lastId: Ref<Organization> | undefined = undefined
|
let lastId: Ref<Organization> | undefined = undefined
|
||||||
@ -144,6 +144,7 @@
|
|||||||
{object}
|
{object}
|
||||||
key={{ key: 'description', attr: descriptionKey }}
|
key={{ key: 'description', attr: descriptionKey }}
|
||||||
placeholder={core.string.Description}
|
placeholder={core.string.Description}
|
||||||
|
enableAttachments={false}
|
||||||
on:saved={(evt) => {
|
on:saved={(evt) => {
|
||||||
saved = evt.detail
|
saved = evt.detail
|
||||||
}}
|
}}
|
||||||
|
Loading…
Reference in New Issue
Block a user