mirror of https://github.com/BTCPrivate/copay.git
Fix hide/show of Ledger slots
This commit is contained in:
parent
d173ef2e50
commit
239b5a5d9d
|
@ -100,7 +100,7 @@
|
|||
<i ng-if="!hideAdv" class="icon-arrow-up4"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div ng-hide="hideAdv" class="row" ng-init="hideSlots=true">
|
||||
<div ng-hide="hideAdv" class="row">
|
||||
<div class="large-12 columns">
|
||||
<label for="network-name" class="line-b oh">
|
||||
<span translate>Testnet</span>
|
||||
|
@ -108,9 +108,9 @@
|
|||
</label>
|
||||
<label ng-show="create.isChromeApp()" for="hw-ledger" class="line-b oh">
|
||||
<span translate>Use Ledger hardware wallet</span>
|
||||
<switch id="hw-ledger" name="hwLedger" ng-model="hwLedger" class="green right m5t m10b" ng-change="hideSlots=false"></switch>
|
||||
<switch id="hw-ledger" name="hwLedger" ng-model="hwLedger" class="green right m5t m10b"></switch>
|
||||
</label>
|
||||
<div ng-hide="hideSlots">
|
||||
<div ng-hide="!hwLedger">
|
||||
<label class="line-b oh"><span translate>Select slot number for Ledger key</span>
|
||||
<select class="m10t" ng-model="externalIndex" ng-options="externalIndex as externalIndex for externalIndex in create.externalIndexValues">
|
||||
</select>
|
||||
|
|
|
@ -84,14 +84,14 @@
|
|||
<i ng-show="!join.hideAdv" class="icon-arrow-down4"></i>
|
||||
<i ng-show="join.hideAdv" class="icon-arrow-up4"></i>
|
||||
</a>
|
||||
<div ng-show="join.hideAdv" class="row" ng-init="hideSlots=true">
|
||||
<div ng-show="join.hideAdv" class="row">
|
||||
<div class="large-12 columns" ng-show="join.isChromeApp()">
|
||||
<label for="hw-ledger" class="line-b oh">
|
||||
<span translate>Use Ledger hardware wallet</span>
|
||||
<switch id="hw-ledger" name="hwLedger" ng-model="hwLedger" class="green right m5t m10b" ng-change="hideSlots=false"></switch>
|
||||
<switch id="hw-ledger" name="hwLedger" ng-model="hwLedger" class="green right m5t m10b"></switch>
|
||||
</label>
|
||||
</div>
|
||||
<div class="large-12 columns" ng-hide="hideSlots">
|
||||
<div class="large-12 columns" ng-hide="!hwLedger">
|
||||
<label class="line-b oh">
|
||||
<span translate>Select slot number for Ledger key</span>
|
||||
<select class="m10t" ng-model="externalIndex" ng-options="externalIndex as externalIndex for externalIndex in join.externalIndexValues">
|
||||
|
|
Loading…
Reference in New Issue