Fix search continuation when using cached results

This commit is contained in:
Preston 2021-01-11 11:49:58 -05:00
parent eab93c2b61
commit 32f57ae1c1
1 changed files with 1 additions and 2 deletions

View File

@ -179,7 +179,7 @@ export default Vue.extend({
query: payload.query, query: payload.query,
data: this.shownResults, data: this.shownResults,
searchSettings: this.searchSettings, searchSettings: this.searchSettings,
nextPageRef: result.nextpageRef nextPageRef: result.continuation
} }
this.$store.commit('addToSessionSearchHistory', historyPayload) this.$store.commit('addToSessionSearchHistory', historyPayload)
@ -200,7 +200,6 @@ export default Vue.extend({
this.performSearchInvidious(payload) this.performSearchInvidious(payload)
} else { } else {
this.isLoading = false this.isLoading = false
// TODO: Show toast with error message
} }
}) })
}, },