mirror of
https://github.com/directus/directus.git
synced 2026-01-30 15:58:22 -05:00
Add CSV type to app
This commit is contained in:
@@ -465,6 +465,8 @@
|
||||
|
||||
"all_items": "All Items",
|
||||
|
||||
"csv": "CSV",
|
||||
|
||||
"no_collections": "No Collections",
|
||||
"create_collection": "Create Collection",
|
||||
"no_collections_copy_admin": "You don’t have any Collections yet. Click the button below to get started.",
|
||||
|
||||
@@ -216,6 +216,10 @@ export default defineComponent({
|
||||
text: i18n.t('json'),
|
||||
value: 'json',
|
||||
},
|
||||
{
|
||||
text: i18n.t('csv'),
|
||||
value: 'csv',
|
||||
},
|
||||
{
|
||||
text: i18n.t('uuid'),
|
||||
value: 'uuid',
|
||||
|
||||
@@ -310,6 +310,9 @@ function initLocalStore(
|
||||
case 'json':
|
||||
state.fieldData.meta.special = 'json';
|
||||
break;
|
||||
case 'csv':
|
||||
state.fieldData.meta.special = 'csv';
|
||||
break;
|
||||
case 'boolean':
|
||||
state.fieldData.meta.special = 'boolean';
|
||||
state.fieldData.schema.is_nullable = false;
|
||||
|
||||
Reference in New Issue
Block a user