Adds filters to every fiat values

This commit is contained in:
Gustavo Maximiliano Cortez 2015-09-10 16:19:07 -03:00
commit 1f975dc283
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
8 changed files with 50 additions and 46 deletions

View file

@ -11,6 +11,7 @@ angular.module('copayApp.controllers').controller('buyGlideraController',
this.getBuyPrice = function(token, price) {
var self = this;
this.error = null;
if (!price || (price && !price.qty && !price.fiat)) {
this.buyPrice = null;
return;

View file

@ -14,8 +14,8 @@ angular.module('copayApp.controllers').controller('sellGlideraController',
this.getSellPrice = function(token, price) {
var self = this;
this.error = null;
if (!price || (price && !price.qty && !price.fiat)) {
this.error = null;
this.sellPrice = null;
return;
}