3802-ticket_sale_mana #924

Merged
carlosjr merged 10 commits from 3802-ticket_sale_mana into dev 2022-04-11 10:50:20 +00:00
2 changed files with 9 additions and 1 deletions
Showing only changes of commit b78ecc06d2 - Show all commits

View File

@ -288,7 +288,7 @@
clear-disabled="true"
suffix="%">
</vn-input-number>
<vn-vertical ng-if="$ctrl.edit.mana != 0">
<vn-vertical ng-if="$ctrl.currentWorkerMana != 0">
<vn-radio
label="Promotion mana"
val="mana"

View File

@ -75,6 +75,14 @@ class Controller extends Section {
this.$.editPricePopover.relocate();
});
});
this.getCurrentWorkerMana();
}
getCurrentWorkerMana() {
this.$http.get(`WorkerManas/getCurrentWorkerMana`)
.then(res => {
this.currentWorkerMana = res.data;
});
}
/**