Automatically refresh datasources after executing row actions via a button action

This commit is contained in:
Andrew Kingston 2024-10-30 15:05:06 +00:00
parent 15ebfdf0e9
commit 67a988ae21
No known key found for this signature in database
1 changed files with 4 additions and 0 deletions

View File

@ -500,6 +500,10 @@ const rowActionHandler = async action => {
sourceId: resourceId,
rowId,
})
// Refresh related datasources
await dataSourceStore.actions.invalidateDataSource(resourceId, {
invalidateRelationships: true,
})
}
const handlerMap = {