Fix re render view groups (#9098)

Co-authored-by: Jérémy Magrin <jeremy.magrin@gmail.com>
Co-authored-by: Marie Stoppa <marie.stoppa@essec.edu>
This commit is contained in:
Charles Bochet
2024-12-17 12:29:10 +01:00
committed by GitHub
parent c63842925f
commit 4fe3250e81
3 changed files with 11 additions and 14 deletions

View File

@ -1,4 +1,3 @@
import { v4 } from 'uuid';
import { isDefined } from '~/utils/isDefined';
import { ObjectMetadataItem } from '@/object-metadata/types/ObjectMetadataItem';
@ -65,7 +64,7 @@ export const mapViewGroupsToRecordGroupDefinitions = ({
);
const noValueColumn = {
id: viewGroup?.id ?? v4(),
id: viewGroup?.id ?? '20202020-c05f-46c9-ae1e-2b3c5c702049',
title: 'No Value',
type: RecordGroupDefinitionType.NoValue,
value: null,