diff --git a/opencti-platform/opencti-front/src/private/components/common/bulk/dialog/BulkRelationDialogContainer.tsx b/opencti-platform/opencti-front/src/private/components/common/bulk/dialog/BulkRelationDialogContainer.tsx index b869f8d2b3adc..857ba935235b6 100644 --- a/opencti-platform/opencti-front/src/private/components/common/bulk/dialog/BulkRelationDialogContainer.tsx +++ b/opencti-platform/opencti-front/src/private/components/common/bulk/dialog/BulkRelationDialogContainer.tsx @@ -2,6 +2,7 @@ import React, { useState } from 'react'; import Button from '@mui/material/Button'; import BulkRelationDialog from '@components/common/bulk/dialog/BulkRelationDialog'; import { useFormatter } from 'src/components/i18n'; +import useHelper from 'src/utils/hooks/useHelper'; type BulkRelationDialogContainerProps = { stixDomainObjectId: string; @@ -20,11 +21,10 @@ const inlinedStyle = { }, }; const BulkRelationDialogContainer = ({ stixDomainObjectId, stixDomainObjectName, stixDomainObjectType, handleRefetch }: BulkRelationDialogContainerProps) => { - // const { isFeatureEnable } = useHelper(); + const { isFeatureEnable } = useHelper(); const { t_i18n } = useFormatter(); - // const BULK_RELATIONS_FF = isFeatureEnable('4352_BULK_RELATIONS'); - const BULK_RELATIONS_FF = true; + const BULK_RELATIONS_FF = isFeatureEnable('4352_BULK_RELATIONS'); const [isDialogOpen, setIsDialogOpen] = useState(false);