File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ <h4 class="title m0" translate>Details</h4>
7171 < label for ="asset ">
7272 < span translate > Asset</ span >
7373 </ label >
74- < select class ="m10t " ng-model ="index.assetIndex " id ="asset " name ="asset " ng-options ="index.arrBalances.indexOf(balance) as (balance.asset === 'base' ? 'bytes' : (balance.asset === index.BLACKBYTES_ASSET ? 'blackbytes' : (balance. name || balance.asset))) for balance in index.arrBalances "> </ select >
74+ < select class ="m10t " ng-model ="index.assetIndex " id ="asset " name ="asset " ng-options ="index.arrBalances.indexOf(balance) as (balance.asset === 'base' ? 'bytes' : (balance.name || balance.asset)) for balance in arrPublicBalances "> </ select >
7575 </ div >
7676 < button type ="submit " class ="button black round expand " ng-disabled ="amountForm.$invalid " ng-style ="{'background-color':color} ">
7777 {{buttonLabel}}
Original file line number Diff line number Diff line change @@ -852,6 +852,7 @@ angular.module('copayApp.controllers')
852852 $scope . isCordova = isCordova ;
853853 $scope . buttonLabel = gettextCatalog . getString ( 'Generate QR Code' ) ;
854854 $scope . protocol = conf . program . replace ( / b y t e b a l l / i, 'obyte' ) ;
855+ $scope . arrPublicBalances = indexScope . arrBalances . filter ( b => ! b . is_private ) ;
855856
856857 Object . defineProperty ( $scope , "_customAmount" , {
857858 get : function ( ) {
You can’t perform that action at this time.
0 commit comments