feat(confluence-import): gate API importer UI to enterprise entitlement

This commit is contained in:
Philipinho
2026-06-12 13:16:47 +01:00
parent b7d7ad4521
commit 97a1248818
2 changed files with 2 additions and 2 deletions
@@ -130,7 +130,7 @@ const groupedData: DataGroup[] = [
label: "Import",
icon: IconFileImport,
path: "/settings/import/confluence",
feature: Feature.CONFLUENCE_IMPORT,
feature: Feature.CONFLUENCE_API_IMPORT,
role: "admin",
},
],
@@ -22,7 +22,7 @@ import { useUpgradeLabel } from "@/ee/hooks/use-upgrade-label";
export default function ConfluenceImportPage() {
const { t } = useTranslation();
const [opened, { open, close }] = useDisclosure(false);
const hasConfluenceImport = useHasFeature(Feature.CONFLUENCE_IMPORT);
const hasConfluenceImport = useHasFeature(Feature.CONFLUENCE_API_IMPORT);
const upgradeLabel = useUpgradeLabel();
return (