Fix search continuation when using cached results
This commit is contained in:
parent
eab93c2b61
commit
32f57ae1c1
|
@ -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
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue