This commit is contained in:
Martin McKeaveney 2020-03-22 13:05:58 +00:00
parent de9a7f9005
commit 23ebb529ad
2 changed files with 1 additions and 11 deletions

View File

@ -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 => {

View File

@ -5,9 +5,6 @@
import ActionsHeader from "../../ActionsHeader.svelte"
import * as api from "../api"
export let modalOpen = false
export let onClosed
let recordInfo = {}
</script>
@ -15,11 +12,4 @@
<section>
<IndexView />
<ActionsHeader />
<!-- <div class="actions">
<ActionButton alert on:click={onClosed}>Cancel</ActionButton>
<ActionButton disabled={false} on:click={() => api.saveRecord(recordInfo)}>
Save
</ActionButton>
</div> -->
</section>