From 58a51207f3f5d390104f95f13a92843b277bcade Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Wed, 25 Sep 2024 17:31:16 +0200 Subject: [PATCH] Display multi boolean --- packages/frontend-core/src/utils/relatedColumns.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/packages/frontend-core/src/utils/relatedColumns.js b/packages/frontend-core/src/utils/relatedColumns.js index a0ac01a21c..e7271e5a26 100644 --- a/packages/frontend-core/src/utils/relatedColumns.js +++ b/packages/frontend-core/src/utils/relatedColumns.js @@ -19,6 +19,15 @@ const columnTypeManyOverrides = { return result }, }, + [FieldType.BOOLEAN]: { + overridedType: FieldType.STRING, + parser: value => { + if (value) { + return true + } + return false + }, + }, } export function enrichSchemaWithRelColumns(schema) {