mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-18 05:10:45 +00:00
CE-2258: updated dashboard widgets with a forcereload when child record is removed
This commit is contained in:
@ -313,6 +313,7 @@ function DashboardWidgets({widgetMetaDataList, tableName, entityPrimaryKey, reco
|
|||||||
function deleteChildRecord(name: string, widgetIndex: number, rowIndex: number)
|
function deleteChildRecord(name: string, widgetIndex: number, rowIndex: number)
|
||||||
{
|
{
|
||||||
updateChildRecordList(name, "delete", rowIndex);
|
updateChildRecordList(name, "delete", rowIndex);
|
||||||
|
forceUpdate();
|
||||||
actionCallback(widgetData[widgetIndex]);
|
actionCallback(widgetData[widgetIndex]);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user