diff --git a/web/app/components/header/index.tsx b/web/app/components/header/index.tsx index f188eaf1ca..7dd832e273 100644 --- a/web/app/components/header/index.tsx +++ b/web/app/components/header/index.tsx @@ -15,6 +15,12 @@ import NewAppDialog from '@/app/(commonLayout)/apps/NewAppDialog' import { WorkspaceProvider } from '@/context/workspace-context' import { useDatasetsContext } from '@/context/datasets-context' +const BuildAppsIcon = ({isSelected}: {isSelected: boolean}) => ( + + + +) + export type IHeaderProps = { appItems: AppDetailResponse[] curApp: AppDetailResponse @@ -38,8 +44,9 @@ const Header: FC = ({ appItems, curApp, userProfile, onLogout, lan const { datasets, currentDataset } = useDatasetsContext() const router = useRouter() const showEnvTag = langeniusVersionInfo.current_env === 'TESTING' || langeniusVersionInfo.current_env === 'DEVELOPMENT' - const isPluginsComingSoon = useSelectedLayoutSegment() === 'plugins-coming-soon' - + const selectedSegment = useSelectedLayoutSegment() + const isPluginsComingSoon = selectedSegment === 'plugins-coming-soon' + const isExplore = selectedSegment === 'explore' return (
= ({ appItems, curApp, userProfile, onLogout, lan
+ + + {t('common.menus.explore')} +