mirror of
https://github.com/KevinMidboe/seasonedRequest.git
synced 2025-12-08 20:39:05 +00:00
404 fix
This commit is contained in:
@@ -97,6 +97,9 @@ export default {
|
||||
if(this.type == 'page'){
|
||||
document.title = this.pageTitle;
|
||||
}
|
||||
}.bind(this))
|
||||
.catch(function(error) {
|
||||
this.$router.push({ name: '404' });
|
||||
}.bind(this));
|
||||
},
|
||||
loadMore(){
|
||||
@@ -124,7 +127,7 @@ export default {
|
||||
this.movies = movies;
|
||||
this.pages = pages;
|
||||
if(this.currentPage > pages){
|
||||
this.currentPage -= 1;
|
||||
this.currentPage -= 1;
|
||||
}
|
||||
this.results = results;
|
||||
}.bind(this));
|
||||
|
||||
Reference in New Issue
Block a user