mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-27 18:40:39 +00:00
backend pagination and sorting from laravel database release
This commit is contained in:
@@ -137,7 +137,7 @@ export default {
|
||||
},
|
||||
computed: {
|
||||
hasData() {
|
||||
return this.data && this.data.data.length > 0 ? true : false
|
||||
return this.data && this.data.data && this.data.data.length > 0
|
||||
},
|
||||
floatPages() {
|
||||
return [(this.pageIndex - 1), this.pageIndex, (this.pageIndex + 1)];
|
||||
|
||||
Reference in New Issue
Block a user