diff --git a/packages/builder/src/builderStore/store/backend.js b/packages/builder/src/builderStore/store/backend.js index c4c1e19f99..b498ac1653 100644 --- a/packages/builder/src/builderStore/store/backend.js +++ b/packages/builder/src/builderStore/store/backend.js @@ -34,7 +34,7 @@ export const getBackendUiStore = () => { store.actions = { navigate: name => store.update(state => ({ ...state, leftNavItem: name })), database: { - select: state => store.update(state => ({ ...state, selectedDatabase: state })), + select: db => store.update(state => ({ ...state, selectedDatabase: db })), }, records: { delete: record => store.update(state => { diff --git a/packages/builder/src/database/ModelDataTable/modals/CreateEditView.svelte b/packages/builder/src/database/ModelDataTable/modals/CreateEditView.svelte index c4195d2fdf..067fa1fd51 100644 --- a/packages/builder/src/database/ModelDataTable/modals/CreateEditView.svelte +++ b/packages/builder/src/database/ModelDataTable/modals/CreateEditView.svelte @@ -5,9 +5,6 @@ import ActionsHeader from "../../ActionsHeader.svelte" import * as api from "../api" - export let modalOpen = false - export let onClosed - let recordInfo = {} @@ -15,11 +12,4 @@
- -