mirror of https://github.com/BTCPrivate/copay.git
Fix sidebar and self definition
This commit is contained in:
parent
879f16d521
commit
54fa81e975
|
@ -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">
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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 + '";';
|
||||
|
|
Loading…
Reference in New Issue