dev #14607 Море. Правки по сайту: show all bonuses

This commit is contained in:
nikolay 2023-06-29 16:09:56 +04:00
parent e640539d96
commit 4c7b5437df

View File

@ -259,9 +259,6 @@ export class AuthService {
getBalanceAmount(loyaltyPrograms: UserInfoWalletBalance[]) {
return (loyaltyPrograms || []).reduce((accumulator, currentValue) => {
if (currentValue.wallet.name !== 'Федеральная программа лояльности') {
return accumulator
}
return accumulator + currentValue.balance;
}, 0);
}