Commit 2b2220eb authored by Phil Hughes's avatar Phil Hughes

Fixed resolved notes not being scrolled to on load

parent a688cdc3
......@@ -105,6 +105,13 @@ export default {
},
},
watch: {
async isFetching() {
if (!this.isFetching) {
await this.$nextTick();
await this.startTaskList();
await this.checkLocationHash();
}
},
shouldShow() {
if (!this.isNotesFetched) {
this.fetchNotes();
......@@ -200,9 +207,6 @@ export default {
eventHub.$emit('fetchedNotesData');
this.setFetchingState(false);
})
.then(this.$nextTick)
.then(this.startTaskList)
.then(this.checkLocationHash)
.catch(() => {
this.setLoadingState(false);
this.setNotesFetchedState(true);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment