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

Commit

Permalink
fix(Addresses): fix 'click to open receive modal' functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
jtormey committed Feb 4, 2016
1 parent 34e17fe commit 1dd9d20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/js/controllers/request.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ function RequestCtrl($scope, Wallet, Alerts, currency, $uibModalInstance, $log,

if (!address.archived) {
$scope.destinations.push(angular.copy(address));
if ((destination != null) && (destination.address != null) && destination.address === addr.address) {
$scope.fields.to = addr;
if ((destination != null) && (destination.address != null) && destination.address === address.address) {
$scope.fields.to = address;
}
}
}
Expand Down

0 comments on commit 1dd9d20

Please sign in to comment.