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 = { store.actions = {
navigate: name => store.update(state => ({ ...state, leftNavItem: name })), navigate: name => store.update(state => ({ ...state, leftNavItem: name })),
database: { database: {
select: state => store.update(state => ({ ...state, selectedDatabase: state })), select: db => store.update(state => ({ ...state, selectedDatabase: db })),
}, },
records: { records: {
delete: record => store.update(state => { delete: record => store.update(state => {

View File

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