Skip to content

Commit

Permalink
fix(vouchers): remove the recover cache button
Browse files Browse the repository at this point in the history
This commit removes the recover cache button as requested in #2196.

Close #2196.
  • Loading branch information
jniles committed Feb 12, 2024
1 parent 4db73c3 commit 315e004
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions client/src/modules/vouchers/complex-voucher.html
Original file line number Diff line number Diff line change
Expand Up @@ -150,19 +150,6 @@

<div class="row" style="margin-bottom : 5px;">
<div class="col-md-12">

<!-- "Recover Cache" button -->
<div class="pull-right">
<button
class="btn btn-default"
id="recover"
ng-class="{ 'btn-primary' : ComplexVoucherCtrl.Voucher.hasCacheAvailable() }"
ng-click="ComplexVoucherCtrl.Voucher.readCache()"
ng-disabled="!ComplexVoucherCtrl.Voucher.hasCacheAvailable() || ComplexVoucherCtrl.Voucher.hasRecoveredCache || ComplexVoucherForm.$submitted">
<i class="fa fa-recycle"></i> <span translate>FORM.BUTTONS.RECOVER_ITEMS</span>
</button>
</div>

<!-- "Add number of grid rows" input-group -->
<bh-add-item
disable="ComplexVoucherCtrl.Voucher.details.currency_id"
Expand Down

0 comments on commit 315e004

Please sign in to comment.