grid view implementation

This commit is contained in:
Čarodej
2021-10-28 14:49:12 +02:00
parent 240880e2ad
commit b53d9fb93a
15 changed files with 617 additions and 50 deletions

View File

@@ -27,13 +27,13 @@ export default {
},
computed: {
...mapGetters([
'FilePreviewType'
'itemViewType'
]),
isGrid() {
return this.FilePreviewType === 'grid'
return this.itemViewType === 'grid'
},
isList() {
return this.FilePreviewType === 'list'
return this.itemViewType === 'list'
},
arrowForCreatedAtField() {
if (this.filter.field !== 'created_at')