This commit is contained in:
Adria Navarro 2025-01-10 10:45:35 +01:00
parent e23be5acb8
commit 535f2d6803
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ import { get } from "svelte/store"
import { createWebsocket } from "../../../utils" import { createWebsocket } from "../../../utils"
import { SocketEvent, GridSocketEvent } from "@budibase/shared-core" import { SocketEvent, GridSocketEvent } from "@budibase/shared-core"
import { Store } from "../stores" import { Store } from "../stores"
import { UIDatasource } from "@budibase/types" import { UIDatasource, UIUser } from "@budibase/types"
export const createGridWebsocket = (context: Store) => { export const createGridWebsocket = (context: Store) => {
const { rows, datasource, users, focusedCellId, definition, API } = context const { rows, datasource, users, focusedCellId, definition, API } = context
@ -20,7 +20,7 @@ export const createGridWebsocket = (context: Store) => {
datasource, datasource,
appId, appId,
}, },
({ users: gridUsers }) => { ({ users: gridUsers }: { users: UIUser[] }) => {
users.set(gridUsers) users.set(gridUsers)
} }
) )