isolated scope - wallets filtered from controller
This commit is contained in:
parent
afb7386ec2
commit
19419526e4
6 changed files with 55 additions and 67 deletions
|
|
@ -42,10 +42,10 @@
|
|||
<div class="item item-icon-left">
|
||||
<i class="icon ion-briefcase size-21"></i>
|
||||
<label translate>From</label>
|
||||
<span class="badge badge-assertive" ng-show="content.notAvailable" translate>Not available</span>
|
||||
<span class="badge badge-assertive" ng-show="notAvailable" translate>Not available</span>
|
||||
</div>
|
||||
|
||||
<wallets ng-if="hasWallet" only-complete="true" network="{{network}}" min-balance="{{minBalance}}"></wallets>
|
||||
<wallets ng-if="wallets[0]" wallets="wallets"></wallets>
|
||||
|
||||
<div class="item item-icon-left item-icon-right" ng-click="showDescriptionPopup()">
|
||||
<span ng-show="!description">Add Description</span>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<div class="wallets" ng-show="content.wallets[0]">
|
||||
<div class="wallets" ng-show="wallets[0]">
|
||||
<ion-slides class="slides" slider="data.slider">
|
||||
<ion-slide-page ng-repeat="wallet in content.wallets track by $index">
|
||||
<ion-slide-page ng-repeat="wallet in wallets track by $index">
|
||||
<div class="item item-icon-left">
|
||||
<i class="icon ion-briefcase size-21" ng-style="{'color':wallet.color}"></i>
|
||||
{{wallet.name || wallet.id}}
|
||||
|
|
|
|||
|
|
@ -34,7 +34,8 @@
|
|||
<span ng-show="generatingAddress">...</span>
|
||||
<span ng-show="!generatingAddress" copy-to-clipboard="addr">{{addr}}</span>
|
||||
</div>
|
||||
<wallets ng-if="hasWallet" only-complete="true"></wallets>
|
||||
|
||||
<wallets ng-if="wallets[0]" wallets="wallets"></wallets>
|
||||
</div>
|
||||
</ion-content>
|
||||
</ion-view>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue