fix fopr offer total

This commit is contained in:
2019-09-18 09:40:10 +02:00
parent 281b9ac0f3
commit 6f21ab10de
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -107,9 +107,9 @@ dbo.offersService = {
dbo.offerDataService.getAllOffers( offersObject, function ( data ) {
vm.offers.removeAll();
vm.totalOwnRevenue( 0 );
vm.totalChanceOwnRevenue( 0 );
$.each( data, function ( i, p ) {
vm.totalOwnRevenue( 0 );
vm.totalChanceOwnRevenue( 0 );
vm.offers.push( new self.Offer( p ) );
} );
} );