Skip to content

Commit

Permalink
feature flag added
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinBouzinFiligran committed Jun 21, 2024
1 parent d3696bb commit b251cae
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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<boolean>(false);

Expand Down

0 comments on commit b251cae

Please sign in to comment.