fix(tasks): do not load completed todos if not necessary

This commit is contained in:
Matteo Pagliazzi
2018-07-16 12:02:37 +02:00
parent 896a1b74b6
commit 8eac8732c5

View File

@@ -450,6 +450,7 @@ export default {
if (this.type !== 'todo') return;
this.$root.$on('habitica::resync-requested', () => {
if (this.activeFilter.label !== 'complete2') return;
this.loadCompletedTodos(true);
});
},