Fixes issue with loading screen timeout

Limits decimal places on enabled-exchanges componenet to help lower resolutions
This commit is contained in:
GloriousCode
2017-02-10 19:46:58 +11:00
parent 377762487c
commit 2de5f868c6
2 changed files with 3 additions and 2 deletions

View File

@@ -19,8 +19,8 @@
</tr>
<tr ng-repeat="value in exchange.exchangeValues">
<td><a href="" ng-click="reloadDashboardWithExchangeCurrency(exchange,value)">{{value.CryptoCurrency}}</a></td>
<td>{{value.Last}}</td>
<td>{{value.Volume}}</td>
<td>{{value.Last | number: 2}}</td>
<td>{{value.Volume | number: 2}}</td>
</tr>
</table>
</div>

View File

@@ -15,6 +15,7 @@ angular.module('myApp.home', ['ngRoute'])
$rootScope.$on('CurrencyChanged', function(event, args) {
$scope.currency = args.Currency;
$scope.exchange = args.Exchange;
$scope.loaded = true;
});
$timeout(function() {