diff --git a/web/app/components/header/account-dropdown/index.tsx b/web/app/components/header/account-dropdown/index.tsx index d7f6bbd171..9be33d98ee 100644 --- a/web/app/components/header/account-dropdown/index.tsx +++ b/web/app/components/header/account-dropdown/index.tsx @@ -126,69 +126,71 @@ export default function AppSelector() { -
- - - -
{t('common.userProfile.helpCenter')}
- - -
- - {IS_CLOUD_EDITION && isCurrentWorkspaceOwner && } -
- {!systemFeatures.branding.enabled &&
- - - -
{t('common.userProfile.roadmap')}
- - -
- - - -
{t('common.userProfile.github')}
-
- - -
- -
- { - document?.body?.getAttribute('data-public-site-about') !== 'hide' && ( - -
+
+ + setAboutVisible(true)}> - -
{t('common.userProfile.about')}
-
-
{langeniusVersionInfo.current_version}
- -
+ )} + href={ + locale !== LanguagesSupported[1] ? 'https://docs.dify.ai/' : `https://docs.dify.ai/v/${locale.toLowerCase()}/` + } + target='_blank' rel='noopener noreferrer'> + +
{t('common.userProfile.helpCenter')}
+ + +
+ + {IS_CLOUD_EDITION && isCurrentWorkspaceOwner && } +
+
+ + + +
{t('common.userProfile.roadmap')}
+ + +
+ + + +
{t('common.userProfile.github')}
+
+ +
-
- ) - } -
} + + + { + document?.body?.getAttribute('data-public-site-about') !== 'hide' && ( + +
setAboutVisible(true)}> + +
{t('common.userProfile.about')}
+
+
{langeniusVersionInfo.current_version}
+ +
+
+
+ ) + } +
+ }
handleLogout()}>