fix: do not display modelscope source

This commit is contained in:
jialin
2025-04-02 17:55:10 +08:00
parent d3e58c85cf
commit 4755cf6a25
2 changed files with 5 additions and 1 deletions
+3 -1
View File
@@ -2,6 +2,7 @@ import IconFont from '@/components/icon-font';
import HotKeys from '@/config/hotkeys';
import {
DeleteOutlined,
DownloadOutlined,
EditOutlined,
ExperimentOutlined,
RetweetOutlined,
@@ -17,6 +18,7 @@ const icons = {
DeleteOutlined: React.createElement(DeleteOutlined),
ThunderboltOutlined: React.createElement(ThunderboltOutlined),
RetweetOutlined: React.createElement(RetweetOutlined),
DownloadOutlined: React.createElement(DownloadOutlined),
Stop: React.createElement(IconFont, { type: 'icon-stop1' }),
Play: React.createElement(IconFont, { type: 'icon-outline-play' }),
Catalog: React.createElement(IconFont, { type: 'icon-catalog' }),
@@ -199,7 +201,7 @@ export const modelFileActions = [
{
label: 'resources.modelfiles.retry.download',
key: 'retry',
icon: icons.RetweetOutlined
icon: icons.DownloadOutlined
},
{
label: 'common.button.delete',