diff --git a/opencti-platform/opencti-front/src/private/components/data/ImportMenu.tsx b/opencti-platform/opencti-front/src/private/components/data/ImportMenu.tsx
index 1922bfccf2a4..ee219b0a87fd 100644
--- a/opencti-platform/opencti-front/src/private/components/data/ImportMenu.tsx
+++ b/opencti-platform/opencti-front/src/private/components/data/ImportMenu.tsx
@@ -1,7 +1,20 @@
import React from 'react';
import NavToolbarMenu, { MenuEntry } from '@components/common/menus/NavToolbarMenu';
+import useHelper from '../../../utils/hooks/useHelper';
const ImportMenu = () => {
+ const { isFeatureEnable } = useHelper();
+ const isDataTableEnabled = isFeatureEnable('DATA_TABLES');
+ if (!isDataTableEnabled) {
+ return (
+
+ );
+ }
const entries: MenuEntry[] = [
{
path: '/dashboard/data/import',
diff --git a/opencti-platform/opencti-front/src/private/components/data/import/Root.jsx b/opencti-platform/opencti-front/src/private/components/data/import/Root.jsx
index bc88581fe3b6..1b116ba5822f 100644
--- a/opencti-platform/opencti-front/src/private/components/data/import/Root.jsx
+++ b/opencti-platform/opencti-front/src/private/components/data/import/Root.jsx
@@ -4,23 +4,32 @@ import Import from './Import';
import WorkbenchFile from '../../common/files/workbench/WorkbenchFile';
import ImportFilesContent from './ImportFilesContent';
import ImportWorkbenchesContent from './ImportWorkbenchesContent';
+import useHelper from '../../../../utils/hooks/useHelper';
-const Root = () => (
-
-
- }
- />
- }
- />
- }
- />
-
-);
+const Root = () => {
+ const { isFeatureEnable } = useHelper();
+ const isDataTableEnabled = isFeatureEnable('DATA_TABLES');
+ return (
+
+
+ }
+ />
+ {isDataTableEnabled && (
+ }
+ />
+ )}
+ {isDataTableEnabled && (
+ }
+ />
+ )}
+
+ );
+};
export default Root;