diff --git a/modules/claim/front/detail/index.js b/modules/claim/front/detail/index.js index f73cfd996..722f7daf7 100644 --- a/modules/claim/front/detail/index.js +++ b/modules/claim/front/detail/index.js @@ -28,6 +28,7 @@ class Controller extends Section { if (value) { this.calculateTotals(); this.isClaimEditable(); + this.isTicketEditable(); } } @@ -126,7 +127,7 @@ class Controller extends Section { }); } - isClaimEditable() { + isTicketEditable() { this.$http.get(`Tickets/${this.claim.ticketFk}/isEditable`).then(res => { this.isEditable = res.data; });