Add view type switch (#424)

* Manage view_type through collection preset composition

* Move view type translation

* Add layout drawer detail component

* Use different icon for tabular

* Render view as section in browse sidebar

* Fix sticky header in table

* Sort return statement values 🤓

* Use viewtype picker on users

* Use layout picker on files

* Default to tabular view when invalid is set

* Render view type dynamically based on setting
This commit is contained in:
Rijk van Zanten
2020-04-16 16:53:45 -04:00
committed by GitHub
parent ce9c374876
commit 28a4ad5ec6
10 changed files with 107 additions and 26 deletions

View File

@@ -4,6 +4,6 @@ import TabularLayout from './tabular.vue';
export default defineLayout(({ i18n }) => ({
id: 'tabular',
name: i18n.t('layouts.tabular.tabular'),
icon: 'table',
icon: 'reorder',
component: TabularLayout,
}));