mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 06:37:23 +01:00
remove modals stack (#12423)
This commit is contained in:
@@ -144,7 +144,7 @@ export default {
|
||||
challengeId: this.challengeId,
|
||||
winnerId: this.winner._id,
|
||||
});
|
||||
this.$root.$emit('habitica::dismiss-modal', 'close-challenge-modal');
|
||||
this.$root.$emit('bv::hide::modal', 'close-challenge-modal');
|
||||
this.$router.push('/challenges/myChallenges');
|
||||
},
|
||||
async deleteChallenge () {
|
||||
@@ -153,7 +153,7 @@ export default {
|
||||
challengeId: this.challengeId,
|
||||
prize: this.prize,
|
||||
});
|
||||
this.$root.$emit('habitica::dismiss-modal', 'close-challenge-modal');
|
||||
this.$root.$emit('bv::hide::modal', 'close-challenge-modal');
|
||||
this.$router.push('/challenges/myChallenges');
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user