Merge pull request #3654 from gabrielbazan7/fix/csv
fix csv download bug
This commit is contained in:
commit
2417ae0edd
1 changed files with 7 additions and 3 deletions
|
|
@ -6,9 +6,13 @@
|
||||||
<div class="content preferences" ng-controller="preferencesHistory as history">
|
<div class="content preferences" ng-controller="preferencesHistory as history">
|
||||||
<h4></h4>
|
<h4></h4>
|
||||||
<ul class="no-bullet m0">
|
<ul class="no-bullet m0">
|
||||||
<li ng-style="{'color':index.backgroundColor}" ng-show="!index.isCordova" id="export_file" type="file"
|
<li>
|
||||||
nwsaveas="Copay-{{index.alias || index.walletName}}.csv" accept=".csv" ng-click="index.csvHistory();" translate>
|
<div ng-show="!index.isCordova">
|
||||||
Export to file
|
<input id="export_file" type="file" nwsaveas="Copay-{{index.alias || index.walletName}}.csv" accept=".csv" style="display:none">
|
||||||
|
<a ng-style="{'color':index.backgroundColor}" ng-click="index.csvHistory();">
|
||||||
|
<span translate>Export to file</span>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
</li>
|
</li>
|
||||||
<li ng-style="{'color':index.backgroundColor}" ng-click="history.clearTransactionHistory();" translate>
|
<li ng-style="{'color':index.backgroundColor}" ng-click="history.clearTransactionHistory();" translate>
|
||||||
Clear cache
|
Clear cache
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue