Skip to content

Commit

Permalink
Fixed calcs.
Browse files Browse the repository at this point in the history
  • Loading branch information
ctubio committed Jul 31, 2016
1 parent b6577ea commit 784f4bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/admin/trades.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ var TradesListController = ($scope : TradesScope, $log : ng.ILogService, subscri
$scope.trade_statuses[i].allocprice = t.allocprice;
if ($scope.trade_statuses[i].alloc >= $scope.trade_statuses[i].quantity)
$scope.trade_statuses[i].side = 'K';
$scope.gridApi.core.refresh();
$scope.gridApi.grid.notifyDataChange(uiGridConstants.dataChange.ALL);
if ($scope.audioReady && $scope.audio) {
var audio = new Audio('/audio/'+(merged?'boom':'erang')+'.mp3');
audio.volume = 0.5;
Expand Down

0 comments on commit 784f4bf

Please sign in to comment.