fix/ui-1.0.0:if not setting smtp config,when user change login method is email and code,go to setting need to go to email-admin route
This commit is contained in:
1 parent
4e57c9d0b1
commit
ed1391fc84
2 files changed
+2
-4
No files matched your search
@@ -21,7 +21,7 @@ interface EmailConfigFormProps {
|
||||
emailConfig: EmailConfig;
|
||||
onSave: (config: LoginConfig) => Promise<void>;
|
||||
isLoading?: boolean;
|
||||
onTabNavigate?: (tab: TabKey) => void;
|
||||
onTabNavigate?: (tab: TabKey, subTab?: string) => void;
|
||||
}
|
||||
|
||||
export const EmailConfigForm: React.FC<EmailConfigFormProps> = ({
|
||||
@@ -180,7 +180,7 @@ export const EmailConfigForm: React.FC<EmailConfigFormProps> = ({
|
||||
<Link
|
||||
className="text-sm underline cursor-pointer"
|
||||
onPress={() => {
|
||||
onTabNavigate?.(TabKey.SYSTEM_SETTINGS);
|
||||
onTabNavigate?.(TabKey.SYSTEM_SETTINGS, "email-admin");
|
||||
}}
|
||||
>
|
||||
{t("Go to Settings")}
|
||||
|
||||
Reference in new issue
Block a user