mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
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:
@@ -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,
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user