From ae3f6120bd7b5df36cc833e8edf88f101d4eb529 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Germ=C3=A1n=20Saracca?= Date: Tue, 19 Nov 2024 09:30:01 -0300 Subject: [PATCH] fix: use correct boolean --- .../form/EditCreateCollectionForm/EditCreateCollectionForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sections/shared/form/EditCreateCollectionForm/EditCreateCollectionForm.tsx b/src/sections/shared/form/EditCreateCollectionForm/EditCreateCollectionForm.tsx index 45ab3b2b5..60ee9af42 100644 --- a/src/sections/shared/form/EditCreateCollectionForm/EditCreateCollectionForm.tsx +++ b/src/sections/shared/form/EditCreateCollectionForm/EditCreateCollectionForm.tsx @@ -198,7 +198,7 @@ export const EditCreateCollectionForm = ({ const useFacetsFromParentDefault = CollectionFormHelper.defineShouldCheckUseFromParent( onEditMode, isEditingRootCollection, - mode === 'edit' ? collection.isMetadataBlockRoot : undefined + mode === 'edit' ? collection.isFacetRoot : undefined ) const formDefaultValues: CollectionFormData = {