Merge pull request #78 from Kingsrook/feature/CE-2258-manual-add-carton [skip ci]

CE-2258: updated dashboard widgets with a forcereload when child reco…
This commit is contained in:
2025-02-14 20:32:15 -06:00
committed by GitHub

View File

@ -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]);
}; };