tidy up
This commit is contained in:
parent
de9a7f9005
commit
23ebb529ad
|
@ -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 => {
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue