diff --git a/web/app/(commonLayout)/datasets/(datasetDetailLayout)/[datasetId]/layout.tsx b/web/app/(commonLayout)/datasets/(datasetDetailLayout)/[datasetId]/layout.tsx index bd93da43e7..86e3197d9e 100644 --- a/web/app/(commonLayout)/datasets/(datasetDetailLayout)/[datasetId]/layout.tsx +++ b/web/app/(commonLayout)/datasets/(datasetDetailLayout)/[datasetId]/layout.tsx @@ -55,8 +55,8 @@ const LikedItem = ({ isMobile, }: ILikedItemProps) => { return ( - -
+ +
{type === 'app' && (
@@ -64,7 +64,7 @@ const LikedItem = ({
)}
- {!isMobile &&
{detail?.name || '--'}
} + {!isMobile &&
{detail?.name || '--'}
} ) } @@ -197,14 +197,14 @@ const DatasetDetailLayout: FC = (props) => { return return ( -
+
{!hideSideBar && } + extraInfo={mode => } iconType={datasetRes?.data_source_type === DataSourceType.NOTION ? 'notion' : 'dataset'} />} - extraInfo?: React.ReactNode + extraInfo?: (modeState: string) => React.ReactNode } const AppDetailNav = ({ title, desc, icon, icon_background, navigation, extraInfo, iconType = 'app' }: IAppDetailNavProps) => { @@ -72,7 +72,7 @@ const AppDetailNav = ({ title, desc, icon, icon_background, navigation, extraInf ) })} - {extraInfo ?? null} + {extraInfo && extraInfo(modeState)} { !isMobile && ( diff --git a/web/app/components/billing/pricing/plan-item.tsx b/web/app/components/billing/pricing/plan-item.tsx index c2222579c4..bd7c265cc0 100644 --- a/web/app/components/billing/pricing/plan-item.tsx +++ b/web/app/components/billing/pricing/plan-item.tsx @@ -107,7 +107,6 @@ const PlanItem: FC = ({
{t('billing.plansCommon.supportItems.emailSupport')}
+ {t('billing.plansCommon.supportItems.logoChange')}
-
{comingSoon}
@@ -135,7 +134,6 @@ const PlanItem: FC = ({
{t('billing.plansCommon.supportItems.priorityEmail')}
+ {t('billing.plansCommon.supportItems.logoChange')}
-
{comingSoon}
+ {t('billing.plansCommon.supportItems.SSOAuthentication')}