Skip to content

Commit

Permalink
Merge pull request #932 from achamely/master
Browse files Browse the repository at this point in the history
Fix display of ended sales in offer window
  • Loading branch information
achamely committed Sep 23, 2014
2 parents 7ecff95 + a3f1d17 commit 19e1ef1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/js/WalletController.js
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ function WalletTradePendingController($scope, $http, $q, userService, hashExplor

$scope.filtered_sells = filtered_transaction_data.filter(function(item) {
var orderType = item.tx_type_str.toLowerCase()
var orderStatus = item.color.match(/expired/gi) || []
var orderStatus = item.color.match(/(done|expired|invalid)/gi) || []
//DEBUG console.log(orderStatus, item.color)
return (orderType == 'sell offer') && (orderStatus.length == 0)
});
Expand Down

0 comments on commit 19e1ef1

Please sign in to comment.