This commit is contained in:
parent
60e694423d
commit
95c438b73a
|
@ -491,7 +491,7 @@
|
|||
<vn-confirm
|
||||
vn-id="claimSure"
|
||||
message="Do you want to create a claim?"
|
||||
on-accept="$ctrl.createClaim()">
|
||||
on-accept="$ctrl.onCreateClaimAccepted()">
|
||||
</vn-confirm>
|
||||
|
||||
<vn-menu vn-id="moreOptions">
|
||||
|
@ -513,7 +513,7 @@
|
|||
</vn-item>
|
||||
<vn-item translate
|
||||
name="claim"
|
||||
ng-click="claimSure.show()"
|
||||
ng-click="$ctrl.createClaim()"
|
||||
ng-if="$ctrl.isClaimable">
|
||||
Add claim
|
||||
</vn-item>
|
||||
|
|
|
@ -203,7 +203,7 @@ class Controller extends Section {
|
|||
if (pastDays >= this.ticketConfig[0].daysForWarningClaim)
|
||||
this.$.claimConfirm.show();
|
||||
else
|
||||
this.onCreateClaimAccepted();
|
||||
this.$.claimSure.show();
|
||||
}
|
||||
|
||||
onCreateClaimAccepted() {
|
||||
|
|
Loading…
Reference in New Issue