chore: cache resources active tab

This commit is contained in:
jialin
2025-03-26 17:31:31 +08:00
parent bfdf02f065
commit 997e4a1edd
5 changed files with 48 additions and 3 deletions
@@ -306,7 +306,7 @@ const ModelFiles = () => {
handleDelete(
{
...record,
name: record.local_path
name: record.resolved_paths?.[0]
},
{
checkConfig: {
@@ -488,8 +488,8 @@ const ModelFiles = () => {
type="link"
btnStyle={{ width: 18, paddingInline: 2 }}
></CopyButton>
{renderParts(record)}
</span>
{renderParts(record)}
</PathWrapper>
)
);