PR comments.
This commit is contained in:
parent
b2b51a03f8
commit
a3a6ee5656
|
@ -27,7 +27,7 @@
|
|||
})
|
||||
}
|
||||
|
||||
const afterSave = async ({ action }) => {
|
||||
const afterSave = ({ action }) => {
|
||||
notifications.success(`Relationship ${action} successfully`)
|
||||
dispatch("updatecolumns")
|
||||
}
|
||||
|
|
|
@ -2,13 +2,7 @@
|
|||
import { getContext } from "svelte"
|
||||
import CreateEditColumn from "components/backend/DataTable/modals/CreateEditColumn.svelte"
|
||||
|
||||
const { datasource, rows } = getContext("grid")
|
||||
const { datasource } = getContext("grid")
|
||||
</script>
|
||||
|
||||
<CreateEditColumn
|
||||
on:updatecolumns={async () => {
|
||||
await datasource.actions.refreshDefinition()
|
||||
// Need to find a better way to handle formula columns than just always refreshing
|
||||
rows.actions.refreshData()
|
||||
}}
|
||||
/>
|
||||
<CreateEditColumn on:updatecolumns={datasource.actions.refreshDefinition} />
|
||||
|
|
Loading…
Reference in New Issue