mirror of
https://github.com/docmost/docmost.git
synced 2026-07-27 19:14:52 +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",
|
label: "Import",
|
||||||
icon: IconFileImport,
|
icon: IconFileImport,
|
||||||
path: "/settings/import/confluence",
|
path: "/settings/import/confluence",
|
||||||
feature: Feature.CONFLUENCE_IMPORT,
|
feature: Feature.CONFLUENCE_API_IMPORT,
|
||||||
role: "admin",
|
role: "admin",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ import { useUpgradeLabel } from "@/ee/hooks/use-upgrade-label";
|
|||||||
export default function ConfluenceImportPage() {
|
export default function ConfluenceImportPage() {
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
const [opened, { open, close }] = useDisclosure(false);
|
const [opened, { open, close }] = useDisclosure(false);
|
||||||
const hasConfluenceImport = useHasFeature(Feature.CONFLUENCE_IMPORT);
|
const hasConfluenceImport = useHasFeature(Feature.CONFLUENCE_API_IMPORT);
|
||||||
const upgradeLabel = useUpgradeLabel();
|
const upgradeLabel = useUpgradeLabel();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user