Fix format

Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
Kristina Fefelova 2024-11-15 15:27:56 +04:00
parent d5cba62947
commit 6eda85c56d
No known key found for this signature in database
GPG Key ID: 750D35EF042F0690
3 changed files with 3 additions and 7 deletions

View File

@ -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, {

View File

@ -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}

View File

@ -152,7 +152,6 @@
return _id !== meetingMinutes._id
}
</script>
<div class="antiPopup room-popup">