Refresh data after expensing a PO

This commit is contained in:
Hillel Coren 2022-07-12 12:49:36 +03:00
parent 2e3eb34d10
commit 7a1e5be1a9
1 changed files with 1 additions and 0 deletions

View File

@ -297,6 +297,7 @@ Middleware<AppState> _convertPurchaseOrdersToExpense(
EntityAction.convertToExpense)
.then((purchaseOrders) {
store.dispatch(ConvertPurchaseOrdersToExpensesSuccess(purchaseOrders));
store.dispatch(RefreshData());
if (action.completer != null) {
action.completer.complete(null);
}