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';
},
},
];