diff --git a/packages/builder/src/pages/builder/app/[application]/data/table/[tableId]/[viewId]/index.svelte b/packages/builder/src/pages/builder/app/[application]/data/table/[tableId]/[viewId]/index.svelte index b5b65b3f1d..eb5e7eb95d 100644 --- a/packages/builder/src/pages/builder/app/[application]/data/table/[tableId]/[viewId]/index.svelte +++ b/packages/builder/src/pages/builder/app/[application]/data/table/[tableId]/[viewId]/index.svelte @@ -3,6 +3,7 @@ import { admin, themeStore } from "stores/portal" import { Grid } from "@budibase/frontend-core" import { API } from "api" + import { notifications } from "@budibase/bbui" import GridCreateEditRowModal from "components/backend/DataTable/modals/grid/GridCreateEditRowModal.svelte" import GridFilterButton from "components/backend/DataTable/buttons/grid/GridFilterButton.svelte" import GridManageAccessButton from "components/backend/DataTable/buttons/grid/GridManageAccessButton.svelte" @@ -26,14 +27,12 @@ $: currentTheme = $themeStore?.theme $: darkMode = !currentTheme.includes("light") - $: currentTheme = $themeStore?.theme - $: darkMode = !currentTheme.includes("light") - const makeRowActionButtons = actions => { return (actions || []).map(action => ({ text: action.name, onClick: async row => { await rowActions.trigger(id, action.id, row._id) + notifications.success("Row action triggered successfully") }, })) } diff --git a/packages/builder/src/pages/builder/app/[application]/data/table/[tableId]/index.svelte b/packages/builder/src/pages/builder/app/[application]/data/table/[tableId]/index.svelte index b9b58cbfce..24851c723d 100644 --- a/packages/builder/src/pages/builder/app/[application]/data/table/[tableId]/index.svelte +++ b/packages/builder/src/pages/builder/app/[application]/data/table/[tableId]/index.svelte @@ -1,5 +1,5 @@