Adds filters to every fiat values
This commit is contained in:
parent
fc7a87f83a
commit
1f975dc283
8 changed files with 50 additions and 46 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue