mirror of
https://github.com/hcengineering/platform.git
synced 2025-05-11 18:01:59 +00:00
Fix format
Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
parent
d5cba62947
commit
6eda85c56d
@ -137,7 +137,7 @@ export function createModel (builder: Builder): void {
|
||||
|
||||
builder.createDoc(activity.class.ActivityExtension, core.space.Model, {
|
||||
ofClass: survey.class.Poll,
|
||||
components: { input: chunter.component.ChatMessageInput }
|
||||
components: { input: { component: chunter.component.ChatMessageInput } }
|
||||
})
|
||||
|
||||
builder.mixin(survey.class.Poll, core.class.Class, view.mixin.CollectionEditor, {
|
||||
|
@ -72,9 +72,6 @@
|
||||
|
||||
async function updateDataProvider (attachedTo: Ref<Doc>, selectedMessageId?: Ref<ActivityMessage>): Promise<void> {
|
||||
if (dataProvider === undefined) {
|
||||
// For now loading all messages for documents with activity. Need to correct handle aggregation with pagination.
|
||||
// Perhaps we should load all activity messages once, and keep loading in chunks only for ChatMessages then merge them correctly with activity messages
|
||||
const loadAll = isDocChannel
|
||||
const ctx =
|
||||
context ??
|
||||
(await client.findOne(notification.class.DocNotifyContext, {
|
||||
@ -90,7 +87,7 @@
|
||||
attachedTo,
|
||||
activity.class.ActivityMessage,
|
||||
selectedMessageId,
|
||||
loadAll,
|
||||
false,
|
||||
hasRefs,
|
||||
collection
|
||||
)
|
||||
@ -112,7 +109,7 @@
|
||||
provider={dataProvider}
|
||||
{freeze}
|
||||
{autofocus}
|
||||
loadMoreAllowed={!isDocChannel}
|
||||
loadMoreAllowed
|
||||
{withInput}
|
||||
{readonly}
|
||||
{onReply}
|
||||
|
@ -152,7 +152,6 @@
|
||||
|
||||
return _id !== meetingMinutes._id
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
<div class="antiPopup room-popup">
|
||||
|
Loading…
Reference in New Issue
Block a user