Automatically refresh datasources after executing row actions via a button action
This commit is contained in:
parent
15ebfdf0e9
commit
67a988ae21
|
@ -500,6 +500,10 @@ const rowActionHandler = async action => {
|
||||||
sourceId: resourceId,
|
sourceId: resourceId,
|
||||||
rowId,
|
rowId,
|
||||||
})
|
})
|
||||||
|
// Refresh related datasources
|
||||||
|
await dataSourceStore.actions.invalidateDataSource(resourceId, {
|
||||||
|
invalidateRelationships: true,
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
const handlerMap = {
|
const handlerMap = {
|
||||||
|
|
Loading…
Reference in New Issue