diff --git a/packages/builder/src/pages/[application]/backend/_layout.svelte b/packages/builder/src/pages/[application]/backend/_layout.svelte index dad4e66e2d..153226dc5a 100644 --- a/packages/builder/src/pages/[application]/backend/_layout.svelte +++ b/packages/builder/src/pages/[application]/backend/_layout.svelte @@ -5,42 +5,8 @@ import BackendNav from "components/nav/BackendNav.svelte" import SchemaManagementDrawer from "components/nav/SchemaManagementDrawer.svelte" - import Modal from "components/common/Modal.svelte" - import { - CreateEditRecordModal, - CreateEditModelModal, - CreateEditViewModal, - CreateDatabaseModal, - DeleteRecordModal, - CreateUserModal, - } from "components/database/ModelDataTable/modals" - - let selectedRecord - - async function selectRecord(record) { - selectedRecord = await api.loadRecord(record.key, { - appname: $store.appname, - instanceId: $backendUiStore.selectedDatabase.id, - }) - } - - function onClosed() { - backendUiStore.actions.modals.hide() - } - - $: modelOpen = $backendUiStore.visibleModal === "MODEL" - $: viewOpen = $backendUiStore.visibleModal === "VIEW" - -