|
@@ -103,7 +103,7 @@ export default function AppSelector({ isMobile }: IAppSelector) {
|
|
|
</div>
|
|
|
</Menu.Item>
|
|
|
<div className='px-1 py-1'>
|
|
|
- <div className='mt-2 px-3 text-xs font-medium text-gray-500'>{t('common.userProfile.workspace')}</div>
|
|
|
+ {/* <div className='mt-2 px-3 text-xs font-medium text-gray-500'>{t('common.userProfile.workspace')}</div> */}
|
|
|
<WorkplaceSelector />
|
|
|
</div>
|
|
|
<div className="px-1 py-1">
|
|
@@ -130,57 +130,7 @@ export default function AppSelector({ isMobile }: IAppSelector) {
|
|
|
<ArrowUpRight className='hidden w-[14px] h-[14px] text-gray-500 group-hover:flex' />
|
|
|
</a>
|
|
|
</Menu.Item>}
|
|
|
- <Menu.Item>
|
|
|
- <Link
|
|
|
- className={classNames(itemClassName, 'group justify-between')}
|
|
|
- href='https://github.com/langgenius/dify/discussions/categories/feedbacks'
|
|
|
- target='_blank' rel='noopener noreferrer'>
|
|
|
- <div>{t('common.userProfile.communityFeedback')}</div>
|
|
|
- <ArrowUpRight className='hidden w-[14px] h-[14px] text-gray-500 group-hover:flex' />
|
|
|
- </Link>
|
|
|
- </Menu.Item>
|
|
|
- <Menu.Item>
|
|
|
- <Link
|
|
|
- className={classNames(itemClassName, 'group justify-between')}
|
|
|
- href='https://discord.gg/5AEfbxcd9k'
|
|
|
- target='_blank' rel='noopener noreferrer'>
|
|
|
- <div>{t('common.userProfile.community')}</div>
|
|
|
- <ArrowUpRight className='hidden w-[14px] h-[14px] text-gray-500 group-hover:flex' />
|
|
|
- </Link>
|
|
|
- </Menu.Item>
|
|
|
- <Menu.Item>
|
|
|
- <Link
|
|
|
- className={classNames(itemClassName, 'group justify-between')}
|
|
|
- href={
|
|
|
- locale !== LanguagesSupported[1] ? 'https://docs.dify.ai/' : `https://docs.dify.ai/v/${locale.toLowerCase()}/`
|
|
|
- }
|
|
|
- target='_blank' rel='noopener noreferrer'>
|
|
|
- <div>{t('common.userProfile.helpCenter')}</div>
|
|
|
- <ArrowUpRight className='hidden w-[14px] h-[14px] text-gray-500 group-hover:flex' />
|
|
|
- </Link>
|
|
|
- </Menu.Item>
|
|
|
- <Menu.Item>
|
|
|
- <Link
|
|
|
- className={classNames(itemClassName, 'group justify-between')}
|
|
|
- href='https://roadmap.dify.ai'
|
|
|
- target='_blank' rel='noopener noreferrer'>
|
|
|
- <div>{t('common.userProfile.roadmap')}</div>
|
|
|
- <ArrowUpRight className='hidden w-[14px] h-[14px] text-gray-500 group-hover:flex' />
|
|
|
- </Link>
|
|
|
- </Menu.Item>
|
|
|
- {
|
|
|
- document?.body?.getAttribute('data-public-site-about') !== 'hide' && (
|
|
|
- <Menu.Item>
|
|
|
- <div className={classNames(itemClassName, 'justify-between')} onClick={() => setAboutVisible(true)}>
|
|
|
- <div>{t('common.userProfile.about')}</div>
|
|
|
- <div className='flex items-center'>
|
|
|
- <div className='mr-2 text-xs font-normal text-gray-500'>{langeniusVersionInfo.current_version}</div>
|
|
|
- <Indicator color={langeniusVersionInfo.current_version === langeniusVersionInfo.latest_version ? 'green' : 'orange'} />
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </Menu.Item>
|
|
|
- )
|
|
|
- }
|
|
|
+
|
|
|
</div>
|
|
|
<Menu.Item>
|
|
|
<div className='p-1' onClick={() => handleLogout()}>
|