diff --git a/packages/builder/src/stores/builder/rowActions.js b/packages/builder/src/stores/builder/rowActions.js index e91ca9bbef..a6f214f360 100644 --- a/packages/builder/src/stores/builder/rowActions.js +++ b/packages/builder/src/stores/builder/rowActions.js @@ -56,12 +56,17 @@ export class RowActionStore extends BudiStore { // Enable action on this view if adding via a view if (viewId) { - await this.enableView(tableId, viewId, res.id) + await Promise.all([ + this.enableView(tableId, viewId, res.id), + automationStore.actions.fetch(), + ]) } else { - await this.refreshRowActions(tableId) + await Promise.all([ + this.refreshRowActions(tableId), + automationStore.actions.fetch(), + ]) } - automationStore.actions.fetch() return res }