refactor: changed name
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Vicent Llopis 2022-04-25 08:45:50 +02:00
parent 2b9c656d21
commit 789365799e
2 changed files with 2 additions and 2 deletions

View File

@ -302,7 +302,7 @@
<!-- Refund all confirmation dialog --> <!-- Refund all confirmation dialog -->
<vn-confirm <vn-confirm
vn-id="refundAllConfirmation" vn-id="refundAllConfirmation"
on-accept="$ctrl.refundAll()" on-accept="$ctrl.refund()"
question="Are you sure you want to refund all?" question="Are you sure you want to refund all?"
message="Refund all"> message="Refund all">
</vn-confirm> </vn-confirm>

View File

@ -273,7 +273,7 @@ class Controller extends Section {
.then(() => this.vnApp.showSuccess(this.$t('Data saved!'))); .then(() => this.vnApp.showSuccess(this.$t('Data saved!')));
} }
async refundAll() { async refund() {
const filter = { const filter = {
where: {ticketFk: this.id} where: {ticketFk: this.id}
}; };