diff --git a/clients/admin-ui/src/features/system/hooks/useSystemFormTabs.tsx b/clients/admin-ui/src/features/system/hooks/useSystemFormTabs.tsx index a5ae7861c6..94fb00e8f0 100644 --- a/clients/admin-ui/src/features/system/hooks/useSystemFormTabs.tsx +++ b/clients/admin-ui/src/features/system/hooks/useSystemFormTabs.tsx @@ -6,7 +6,7 @@ import { useCallback, useEffect, useState } from "react"; import { useAppDispatch, useAppSelector } from "~/app/hooks"; import { type TabData } from "~/features/common/DataTabs"; -import { useFeatures } from "~/features/common/features"; +import { useFeatures, useFlags } from "~/features/common/features"; import { DirtyFormConfirmationModal, useIsAnyFormDirty, @@ -71,6 +71,9 @@ const useSystemFormTabs = ({ const [systemProcessesPersonalData, setSystemProcessesPersonalData] = useState(undefined); const { plus: isPlusEnabled } = useFeatures(); + const { + flags: { dataDiscoveryAndDetection }, + } = useFlags(); // Once we have saved the system basics, subscribe to the query so that activeSystem // stays up to date when redux invalidates the cache (for example, when we patch a connection config) @@ -221,12 +224,18 @@ const useSystemFormTabs = ({ - Add an integration to start managing privacy requests and consent. - Navigate{" "} - - here - {" "} - to set up monitoring on databases. + {dataDiscoveryAndDetection ? ( + <> + Add an integration to start managing privacy requests and + consent. Visit{" "} + + Integration Management + {" "} + to set up monitoring on databases. + + ) : ( + "Integrations are used to process privacy requests for access erasure, portability, rectification, and consent." + )}