reload completed tasks after resync is finished - always reload completed tasks (#10614)

This commit is contained in:
negue
2018-08-24 22:04:59 +02:00
committed by Sabe Jones
parent ba307af963
commit 6fb9030b96
3 changed files with 7 additions and 17 deletions

View File

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