mirror of
https://github.com/docmost/docmost.git
synced 2026-07-12 06:04:48 +10:00
feat(confluence-import): gate API importer UI to enterprise entitlement
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user