|
|
@ -1,5 +1,5 @@ |
|
|
<script> |
|
|
<script> |
|
|
import { onMount } from "svelte" |
|
|
import { onMount, tick } from "svelte" |
|
|
import { store, backendUiStore } from "builderStore" |
|
|
import { store, backendUiStore } from "builderStore" |
|
|
import { notifier } from "builderStore/store/notifications" |
|
|
import { notifier } from "builderStore/store/notifications" |
|
|
import { compose, map, get, flatten } from "lodash/fp" |
|
|
import { compose, map, get, flatten } from "lodash/fp" |
|
|
@ -34,12 +34,9 @@ |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
backendUiStore.update(state => { |
|
|
onClosed() |
|
|
state.selectedView = state.selectedView |
|
|
notifier.success("Record saved successfully.") |
|
|
onClosed() |
|
|
backendUiStore.actions.records.save(recordResponse) |
|
|
notifier.success("Record saved successfully.") |
|
|
|
|
|
return state |
|
|
|
|
|
}) |
|
|
|
|
|
} |
|
|
} |
|
|
</script> |
|
|
</script> |
|
|
|
|
|
|
|
|
|