mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
fix(tasks): do not load completed todos if not necessary
This commit is contained in:
@@ -450,6 +450,7 @@ export default {
|
|||||||
|
|
||||||
if (this.type !== 'todo') return;
|
if (this.type !== 'todo') return;
|
||||||
this.$root.$on('habitica::resync-requested', () => {
|
this.$root.$on('habitica::resync-requested', () => {
|
||||||
|
if (this.activeFilter.label !== 'complete2') return;
|
||||||
this.loadCompletedTodos(true);
|
this.loadCompletedTodos(true);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user