mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
Merge pull request #894 from Hexastack/fix/importing-csv-file-ignores-fields-and-status-always-true
fix: importing csv file ignores fields and status always true
This commit is contained in:
commit
bbf55ae897
@ -145,7 +145,7 @@ export class ContentService extends BaseService<
|
|||||||
...acc,
|
...acc,
|
||||||
{
|
{
|
||||||
title: String(title),
|
title: String(title),
|
||||||
status: Boolean(status),
|
status: status.trim().toLowerCase() === 'true',
|
||||||
entity: targetContentType,
|
entity: targetContentType,
|
||||||
dynamicFields: Object.keys(rest)
|
dynamicFields: Object.keys(rest)
|
||||||
.filter((key) =>
|
.filter((key) =>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user