Disable collab for views

This commit is contained in:
Andrew Kingston 2023-08-01 10:54:01 +01:00
parent fb510f70e2
commit a8c2cf8c08
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ export const createGridWebsocket = context => {
const socket = createWebsocket("/socket/grid")
const connectToDatasource = datasource => {
if (!socket.connected) {
if (!socket.connected || datasource?.type !== "table") {
return
}
// Identify which table we are editing