expenditures: added badge for open approvals

This commit is contained in:
2025-02-19 14:49:21 +01:00
parent dd587f7603
commit 839f668b08
4 changed files with 31 additions and 6 deletions

View File

@@ -78,8 +78,9 @@ function expenditureAction(action, expId, successStr) {
}
hideLoader();
},
success: function (data, status, xhr) {
sync();
success: async function (data, status, xhr) {
await sync();
updateExpendituresBadge();
hideLoader();
toastOk(successStr);
}