1
0
Fork 0
mirror of synced 2024-09-21 03:43:21 +12:00

Fix navigation to new row actions not working

This commit is contained in:
Andrew Kingston 2024-09-03 20:10:46 +01:00
parent 7db263dd3b
commit 26b5784345
No known key found for this signature in database

View file

@ -56,12 +56,17 @@ export class RowActionStore extends BudiStore {
// Enable action on this view if adding via a view // Enable action on this view if adding via a view
if (viewId) { if (viewId) {
await this.enableView(tableId, viewId, res.id) await Promise.all([
this.enableView(tableId, viewId, res.id),
automationStore.actions.fetch(),
])
} else { } else {
await this.refreshRowActions(tableId) await Promise.all([
this.refreshRowActions(tableId),
automationStore.actions.fetch(),
])
} }
automationStore.actions.fetch()
return res return res
} }