diff --git a/web/app/components/app-sidebar/basic.tsx b/web/app/components/app-sidebar/basic.tsx
index 34704dbd7e..6a7d5a13c2 100644
--- a/web/app/components/app-sidebar/basic.tsx
+++ b/web/app/components/app-sidebar/basic.tsx
@@ -54,7 +54,7 @@ const ICON_MAP = {
notion: ,
}
-export default function AppBasic({ icon, icon_background, name, isExternal, type, hoverTip, textStyle, mode = 'expand', iconType = 'app' }: IAppBasicProps) {
+export default function AppBasic({ icon, icon_background, name, isExternal, type, hoverTip, textStyle, isExtraInLine, mode = 'expand', iconType = 'app' }: IAppBasicProps) {
const { t } = useTranslation()
return (
@@ -70,9 +70,9 @@ export default function AppBasic({ icon, icon_background, name, isExternal, type
}
- {mode === 'expand' &&
+ {mode === 'expand' &&
-
+
{name}
{hoverTip
@@ -88,7 +88,11 @@ export default function AppBasic({ icon, icon_background, name, isExternal, type
/>
}
-
{isExternal ? t('dataset.externalTag') : ''}
+ {isExtraInLine ? (
+
{type}
+ ) : (
+
{isExternal ? t('dataset.externalTag') : type}
+ )}
}
)
diff --git a/web/app/components/app/overview/appChart.tsx b/web/app/components/app/overview/appChart.tsx
index 7ac7f92fbc..4e74eda600 100644
--- a/web/app/components/app/overview/appChart.tsx
+++ b/web/app/components/app/overview/appChart.tsx
@@ -237,7 +237,7 @@ const Chart: React.FC
= ({
{t('appOverview.analysis.tokenUsage.consumed')} Tokens
@@ -350,6 +350,7 @@ export const TokenPerSecond: FC = ({ id, period }) => {
isAvg
unit={t('appOverview.analysis.tokenPS') as string}
{...(noDataFlag && { yMax: 100 })}
+ className="min-w-0"
/>
}