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