mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 06:37:23 +01:00
Reloaded completed todos if we are unlinking a todo
This commit is contained in:
@@ -67,7 +67,13 @@ export default {
|
||||
challengeId: this.brokenChallengeTask.challenge.id,
|
||||
keep: keepOption,
|
||||
});
|
||||
|
||||
await this.$store.dispatch('tasks:fetchUserTasks', {forceLoad: true});
|
||||
|
||||
if (this.brokenChallengeTask.type === 'todo') {
|
||||
await this.$store.dispatch('tasks:fetchCompletedTodos', {forceLoad: true});
|
||||
}
|
||||
|
||||
this.close();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user