Remove unused code

This commit is contained in:
Andrew Kingston 2023-05-30 11:17:46 +01:00
parent 22815a064c
commit 1db22d3965
2 changed files with 1 additions and 3 deletions

View File

@ -24,7 +24,7 @@ export const createBuilderWebsocket = () => {
tables.replaceTable(id, table) tables.replaceTable(id, table)
}) })
// Table events // Datasource events
socket.on("datasource-change", ({ id, datasource }) => { socket.on("datasource-change", ({ id, datasource }) => {
datasources.replaceDatasource(id, datasource) datasources.replaceDatasource(id, datasource)
}) })

View File

@ -2,14 +2,12 @@
import { Heading, Body, Button, Icon } from "@budibase/bbui" import { Heading, Body, Button, Icon } from "@budibase/bbui"
import { processStringSync } from "@budibase/string-templates" import { processStringSync } from "@budibase/string-templates"
import { goto } from "@roxi/routify" import { goto } from "@roxi/routify"
import { helpers } from "@budibase/shared-core"
import { UserAvatar } from "@budibase/frontend-core" import { UserAvatar } from "@budibase/frontend-core"
export let app export let app
export let lockedAction export let lockedAction
$: editing = app?.lockedBy != null $: editing = app?.lockedBy != null
$: initials = helpers.getUserInitials(app?.lockedBy)
const handleDefaultClick = () => { const handleDefaultClick = () => {
if (window.innerWidth < 640) { if (window.innerWidth < 640) {