forked from DebaucheryLibrarian/traxxx
Reset pagination on search, scroll into view when paginating search.
This commit is contained in:
@@ -58,6 +58,8 @@ async function searchMovies() {
|
||||
|
||||
this.movies = movies;
|
||||
this.totalCount = totalCount;
|
||||
|
||||
this.$refs.tiles.scrollIntoView();
|
||||
}
|
||||
|
||||
async function mounted() {
|
||||
@@ -76,7 +78,7 @@ export default {
|
||||
return {
|
||||
movies: [],
|
||||
totalCount: 0,
|
||||
limit: 30,
|
||||
limit: 5,
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
|
||||
Reference in New Issue
Block a user