Fix storybook tests (#8260)
Before <img width="717" alt="Capture d’écran 2024-10-31 à 16 58 34" src="https://github.com/user-attachments/assets/b8ec61f3-11c2-497f-9e4f-183b7989fb59"> After <img width="717" alt="Capture d’écran 2024-10-31 à 16 58 14" src="https://github.com/user-attachments/assets/8e0a1fbf-19c4-4cd0-ab7b-58ebb5ded1f5"> Before <img width="586" alt="Capture d’écran 2024-10-31 à 16 57 59" src="https://github.com/user-attachments/assets/eb6caf91-3953-4a8f-a847-17a50cc40d02"> After <img width="586" alt="Capture d’écran 2024-10-31 à 16 57 29" src="https://github.com/user-attachments/assets/9eee3502-66b4-41c9-a924-b5d3ddb921e3">
This commit is contained in:
@ -101,7 +101,10 @@ export const SettingsDataModelFieldRelationForm = ({
|
||||
});
|
||||
|
||||
const selectedObjectMetadataItem = findObjectMetadataItemById(
|
||||
watchFormValue('relation.objectMetadataId'),
|
||||
watchFormValue(
|
||||
'relation.objectMetadataId',
|
||||
initialRelationObjectMetadataItem?.id,
|
||||
),
|
||||
);
|
||||
|
||||
const isMobile = useIsMobile();
|
||||
|
||||
Reference in New Issue
Block a user