Fix navigation to new row actions not working
This commit is contained in:
parent
7db263dd3b
commit
26b5784345
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue