From ad9d6eb5f4c727db5f6f798c7b3a16e3016935f2 Mon Sep 17 00:00:00 2001
From: Yi Xiao <54782454+YIXIAO0@users.noreply.github.com>
Date: Mon, 10 Feb 2025 14:24:48 +0800
Subject: [PATCH] fix app detail panel merge issues (#13460)
---
web/app/components/app-sidebar/basic.tsx | 1 -
web/app/components/app/overview/appCard.tsx | 11 +++++------
2 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/web/app/components/app-sidebar/basic.tsx b/web/app/components/app-sidebar/basic.tsx
index bbb2505856..6d56f6ad86 100644
--- a/web/app/components/app-sidebar/basic.tsx
+++ b/web/app/components/app-sidebar/basic.tsx
@@ -88,7 +88,6 @@ export default function AppBasic({ icon, icon_background, name, isExternal, type
/>
}
-
{type}
{isExternal ? t('dataset.externalTag') : ''}
}
diff --git a/web/app/components/app/overview/appCard.tsx b/web/app/components/app/overview/appCard.tsx
index 610044cc81..3d966f365b 100644
--- a/web/app/components/app/overview/appCard.tsx
+++ b/web/app/components/app/overview/appCard.tsx
@@ -1,6 +1,5 @@
'use client'
import React, { useMemo, useState } from 'react'
-
import { usePathname, useRouter } from 'next/navigation'
import { useTranslation } from 'react-i18next'
import {
@@ -165,7 +164,7 @@ function AppCard({
-
+
{isApp ? appUrl : apiUrl}
@@ -173,7 +172,7 @@ function AppCard({
content={isApp ? appUrl : apiUrl}
className={'!size-6'}
/>
- {isApp &&
}
+ {isApp &&
}
{isApp &&
}
{/* button copy link/ button regenerate */}
{showConfirmDelete && (
@@ -194,7 +193,7 @@ function AppCard({
popupContent={t('appOverview.overview.appInfo.regenerate') || ''}
>
setShowConfirmDelete(true)}
>
-
+
-
{op.opName}
+
{op.opName}