mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-04 01:29:21 +00:00
Prevented challenge prize edit. Fixed edit to create modal (#9374)
This commit is contained in:
parent
a28aea65f8
commit
0e5a811b98
2 changed files with 2 additions and 1 deletions
|
|
@ -47,7 +47,7 @@
|
|||
label
|
||||
strong(v-once) {{$t('endDate')}}
|
||||
b-form-input.end-date-input
|
||||
.form-group
|
||||
.form-group(v-if='creating')
|
||||
label
|
||||
strong(v-once) {{$t('prize')}}
|
||||
input(type='number', :min='minPrize', :max='maxPrize', v-model="workingChallenge.prize")
|
||||
|
|
|
|||
|
|
@ -150,6 +150,7 @@ export default {
|
|||
this.filters = eventData;
|
||||
},
|
||||
createChallenge () {
|
||||
this.$store.state.challengeOptions.workingChallenge = {};
|
||||
this.$root.$emit('show::modal', 'challenge-modal');
|
||||
},
|
||||
async loadchallanges () {
|
||||
|
|
|
|||
Loading…
Reference in a new issue