This commit is contained in:
Philipinho
2025-07-29 14:28:40 -07:00
parent a3d058042f
commit 6db93ef0c7
5 changed files with 66 additions and 24 deletions

View File

@ -319,7 +319,7 @@ function ImportFormatSelection({ spaceId, onClose }: ImportFormatSelection) {
>
{(props) => (
<Tooltip
label="Available in enterprise edition"
label={t("Available in enterprise edition")}
disabled={canUseConfluence}
>
<Button

View File

@ -1,15 +1,6 @@
import React from "react";
import { isCloud } from "@/lib/config";
import { useLicense } from "@/ee/hooks/use-license";
import { MfaSettings } from "@/ee/mfa";
export function AccountMfaSection() {
const { hasLicenseKey } = useLicense();
const showMfa = isCloud() || hasLicenseKey;
if (!showMfa) {
return null;
}
return <MfaSettings />;
}