diff --git a/xinference/web/ui/src/locales/en.json b/xinference/web/ui/src/locales/en.json
index 4977c3c4b8..26c0b1b29f 100644
--- a/xinference/web/ui/src/locales/en.json
+++ b/xinference/web/ui/src/locales/en.json
@@ -25,6 +25,7 @@
"vision": "vl-chat",
"status": "Status",
"cached": "Cached",
+ "manageCachedModels": "Manage Cached Models",
"favorite": "Favorite",
"unfavorite": "Unfavorite",
"search": "Search for model name and description",
diff --git a/xinference/web/ui/src/locales/zh.json b/xinference/web/ui/src/locales/zh.json
index 3ac043b262..bc718c31a6 100644
--- a/xinference/web/ui/src/locales/zh.json
+++ b/xinference/web/ui/src/locales/zh.json
@@ -25,6 +25,7 @@
"vision": "视觉聊天",
"status": "状态",
"cached": "已缓存",
+ "manageCachedModels": "管理缓存模型",
"favorite": "收藏",
"unfavorite": "取消收藏",
"search": "搜索模型名称和描述",
diff --git a/xinference/web/ui/src/scenes/launch_model/modelCard.js b/xinference/web/ui/src/scenes/launch_model/modelCard.js
index c3a20c6588..3b8175eb94 100644
--- a/xinference/web/ui/src/scenes/launch_model/modelCard.js
+++ b/xinference/web/ui/src/scenes/launch_model/modelCard.js
@@ -848,7 +848,15 @@ const ModelCard = ({
(() => {
return modelData.model_lang.map((v) => {
return (
-
+ {
+ e.stopPropagation()
+ }}
+ />
)
})
})()}
@@ -859,11 +867,16 @@ const ModelCard = ({
) {
return (
}
onDelete={handleOpenCachedList}
+ onClick={(e) => {
+ e.stopPropagation()
+ handleOpenCachedList()
+ }}
/>
)
}
@@ -1019,6 +1032,9 @@ const ModelCard = ({
label={v}
variant="outlined"
size="small"
+ onClick={(e) => {
+ e.stopPropagation()
+ }}
/>
)
})
@@ -1028,6 +1044,9 @@ const ModelCard = ({
label={modelData.model_family}
variant="outlined"
size="small"
+ onClick={(e) => {
+ e.stopPropagation()
+ }}
/>
)
}
@@ -1036,11 +1055,16 @@ const ModelCard = ({
if (modelData.cache_status) {
return (
}
onDelete={handleOpenCachedList}
+ onClick={(e) => {
+ e.stopPropagation()
+ handleOpenCachedList()
+ }}
/>
)
}