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:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user