paginator refactoring and implementation into the routes

This commit is contained in:
Čarodej
2022-05-24 18:19:34 +02:00
parent 31218240ae
commit b9975de700
61 changed files with 1215 additions and 829 deletions
@@ -41,7 +41,7 @@
import ItemHandler from './ItemHandler'
import { events } from '../../bus'
import { mapGetters } from 'vuex'
import Spinner from './Spinner'
import Spinner from "../UI/Others/Spinner";
import { debounce } from 'lodash'
export default {
@@ -204,7 +204,7 @@ export default {
goToFiles() {
if (this.$route.name !== 'Files') this.$router.push({ name: 'Files' })
this.$store.dispatch('getFolder')
this.$store.dispatch('getFolder', {page: 1})
},
logOut() {
this.$store.dispatch('logOut')