diff --git a/src/components/pages/Search.vue b/src/components/pages/Search.vue index be05709..61601bd 100644 --- a/src/components/pages/Search.vue +++ b/src/components/pages/Search.vue @@ -186,10 +186,11 @@ export default defineComponent({ // Search watcher watch(result, newValue => { - const { next: nextResult, total, type, data: newData } = newValue + const { next: nextResult, total, type, data: newData, error } = newValue const currentTabKey = `${type}Tab` let next = total + state.results[currentTabKey].error = error if (nextResult) { next = parseInt(nextResult.match(/index=(\d*)/)[1]) diff --git a/src/components/search/ResultsAlbums.vue b/src/components/search/ResultsAlbums.vue index e09a6ca..37f1a96 100644 --- a/src/components/search/ResultsAlbums.vue +++ b/src/components/search/ResultsAlbums.vue @@ -3,8 +3,9 @@