Fix sidebar and self definition

This commit is contained in:
Gustavo Maximiliano Cortez 2016-07-29 15:47:45 -03:00
parent 879f16d521
commit 54fa81e975
No known key found for this signature in database
GPG Key ID: 15EDAD8D9F2EB1AF
3 changed files with 3 additions and 2 deletions

View File

@ -30,7 +30,7 @@
<span class="size-12" translate>Buy and Sell</span>
</div>
</li>
<li menu-toggle href ui-sref="amazon" ng-show="index.isComplete && index.amazonEnabled">
<li menu-toggle href ui-sref="amazon" ng-show="index.isComplete">
<i class="icon-arrow-right3 size-18 right m10t vm"></i>
<i class="fi-shopping-bag size-24 icon vm"></i>
<div class="tu text-bold m10t">

View File

@ -22,6 +22,7 @@ angular.module('copayApp.controllers').controller('amazonController',
}
this.updatePendingGiftCards = lodash.debounce(function() {
var self = this;
amazonService.getPendingGiftCards(function(err, gcds) {
lodash.forEach(gcds, function(dataFromStorage) {

View File

@ -13,7 +13,7 @@ try {
var json = JSON.parse(file);
content = content + '\nwindow.amazon_sandbox_bitpay_api_token="' + json.sandbox.bitpay_api_token + '";';
var content = '\nwindow.amazon_sandbox_bitpay_api_token="' + json.sandbox.bitpay_api_token + '";';
content = content + '\nwindow.amazon_sandbox_bitpay_api_url="' + json.sandbox.bitpay_api_url + '";';
content = content + '\nwindow.amazon_bitpay_api_token="' + json.production.bitpay_api_token + '";';
content = content + '\nwindow.amazon_bitpay_api_url="' + json.production.bitpay_api_url + '";';