diff --git a/packages/builder/src/builderStore/store/backend.js b/packages/builder/src/builderStore/store/backend.js index c8638001a6..cb4b054449 100644 --- a/packages/builder/src/builderStore/store/backend.js +++ b/packages/builder/src/builderStore/store/backend.js @@ -14,7 +14,6 @@ import { export const getBackendUiStore = () => { const INITIAL_BACKEND_UI_STATE = { - leftNavItem: "DATABASE", selectedView: { records: [], name: "", @@ -27,7 +26,6 @@ export const getBackendUiStore = () => { const store = writable(INITIAL_BACKEND_UI_STATE) store.actions = { - navigate: name => store.update(state => ({ ...state, leftNavItem: name })), database: { select: db => store.update(state => { @@ -60,10 +58,6 @@ export const getBackendUiStore = () => { return state }), }, - modals: { - show: modal => store.update(state => ({ ...state, visibleModal: modal })), - hide: () => store.update(state => ({ ...state, visibleModal: null })), - }, users: { create: user => store.update(state => { diff --git a/packages/builder/src/components/nav/DatabasesList.svelte b/packages/builder/src/components/nav/DatabasesList.svelte index eb45141ff7..7f16e99122 100644 --- a/packages/builder/src/components/nav/DatabasesList.svelte +++ b/packages/builder/src/components/nav/DatabasesList.svelte @@ -9,7 +9,6 @@ $: views = $store.hierarchy.indexes async function selectDatabase(database) { - backendUiStore.actions.navigate("DATABASE") backendUiStore.actions.records.select(null) backendUiStore.actions.views.select(views[0]) backendUiStore.actions.database.select(database)