diff --git a/packages/builder/src/components/backend/DataTable/buttons/ExistingRelationshipButton.svelte b/packages/builder/src/components/backend/DataTable/buttons/ExistingRelationshipButton.svelte index 0393afba5e..03f210e528 100644 --- a/packages/builder/src/components/backend/DataTable/buttons/ExistingRelationshipButton.svelte +++ b/packages/builder/src/components/backend/DataTable/buttons/ExistingRelationshipButton.svelte @@ -27,7 +27,7 @@ }) } - const afterSave = async ({ action }) => { + const afterSave = ({ action }) => { notifications.success(`Relationship ${action} successfully`) dispatch("updatecolumns") } diff --git a/packages/builder/src/components/backend/DataTable/modals/grid/GridCreateColumnModal.svelte b/packages/builder/src/components/backend/DataTable/modals/grid/GridCreateColumnModal.svelte index 86955f2f6f..2040f66706 100644 --- a/packages/builder/src/components/backend/DataTable/modals/grid/GridCreateColumnModal.svelte +++ b/packages/builder/src/components/backend/DataTable/modals/grid/GridCreateColumnModal.svelte @@ -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") - { - await datasource.actions.refreshDefinition() - // Need to find a better way to handle formula columns than just always refreshing - rows.actions.refreshData() - }} -/> +