1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-03-01 03:24:14 +08:00

fix: Fix the issue of inconsistent deletion status for the ollama model (#7950)

Refs #7948
This commit is contained in:
ssongliu 2025-02-21 16:51:51 +08:00 committed by GitHub
parent 640a0ca815
commit 39416abd47
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -430,7 +430,7 @@ const buttons = [
onDelete(row);
},
disabled: (row: any) => {
return row.status !== 'Success' && row.status !== 'Deleted';
return row.status === 'Waiting';
},
},
];