Skip to content

Commit

Permalink
feat: deal export csv untitled case
Browse files Browse the repository at this point in the history
  • Loading branch information
caoxing9 committed Mar 27, 2024
1 parent da34990 commit dccae4f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export class ExportOpenApiService {
csvValue =
type === FieldType.Attachment
? value.map((v) => `${v.name} ${v.presignedUrl}`).join(',')
: value.map((v) => v.title ?? v).join(',');
: value.map((v) => (typeof v !== 'object' ? v : v.title)).join(',');
}
return csvValue;
};
Expand Down

0 comments on commit dccae4f

Please sign in to comment.