remove unused functions and imports

This commit is contained in:
kevmodrome 2020-04-06 16:56:10 +02:00
parent b035c56522
commit 9ee312144e
1 changed files with 0 additions and 34 deletions

View File

@ -5,42 +5,8 @@
import BackendNav from "components/nav/BackendNav.svelte" import BackendNav from "components/nav/BackendNav.svelte"
import SchemaManagementDrawer from "components/nav/SchemaManagementDrawer.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"
</script> </script>
<!-- <Modal isOpen={!!$backendUiStore.visibleModal} {onClosed}>
{#if modelOpen}
<CreateEditModelModal {onClosed} />
{/if}
{#if viewOpen}
<CreateEditViewModal {onClosed} />
{/if}
</Modal> -->
<div class="root"> <div class="root">
<div class="nav"> <div class="nav">
<BackendNav /> <BackendNav />