mirror of
https://github.com/directus/directus.git
synced 2026-02-11 21:05:25 -05:00
Add string-export support for related-values and translations display (#13263)
* Add string preview handler for related values display * Fix continue clause in for loop * Add string export for translations display * Handle null values better * ... while making sure false/0/'' still is considered a value
This commit is contained in:
@@ -37,6 +37,7 @@ export async function saveAsCSV(collection: string, fields: string[], items: Ite
|
||||
? await display.handler(value, fieldsUsed[key]?.meta?.display_options ?? {}, {
|
||||
interfaceOptions: fieldsUsed[key]?.meta?.options ?? {},
|
||||
field: fieldsUsed[key] ?? undefined,
|
||||
collection: collection,
|
||||
})
|
||||
: value;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user