mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-17 01:12:18 +00:00
Closed modal when removing challenge task (#10597)
This commit is contained in:
parent
5ae89761b0
commit
b7ca5be6ee
1 changed files with 1 additions and 0 deletions
|
|
@ -83,6 +83,7 @@ export default {
|
|||
removeTask () {
|
||||
if (!confirm('Are you sure you want to delete this task?')) return;
|
||||
this.destroyTask(this.brokenChallengeTask);
|
||||
this.close();
|
||||
},
|
||||
close () {
|
||||
this.$store.state.brokenChallengeTask = {};
|
||||
|
|
|
|||
Loading…
Reference in a new issue