Skip to content
This repository has been archived by the owner on Oct 8, 2019. It is now read-only.

Commit

Permalink
fix(SFOX): show trade
Browse files Browse the repository at this point in the history
  • Loading branch information
plondon committed Feb 13, 2018
1 parent a7a6692 commit 1eb41c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/js/controllers/sfox/sfoxCheckout.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ function SfoxCheckoutController ($scope, $timeout, $stateParams, $q, Wallet, MyW
buyLevel: this.exchange.profile && this.exchange.profile.verificationStatus.level
};

$scope.pendingTrades = () => this.exchange.trades.filter((t) => t.state === 'processing');
$scope.completedTrades = () => this.exchange.trades.filter((t) => t.state !== 'processing');
$scope.pendingTrades = () => this.exchange.trades.filter((t) => t.state === 'processing' && t.inAmount);
$scope.completedTrades = () => this.exchange.trades.filter((t) => t.state !== 'processing' && t.inAmount);

$scope.setState = () => {
this.state.buyLevel = this.exchange.profile && this.exchange.profile.verificationStatus.level;
Expand Down

0 comments on commit 1eb41c2

Please sign in to comment.