mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-10-04 12:34:25 +08:00
fix: Fix the issue of inconsistent deletion status for the ollama model (#7950)
Refs #7948
This commit is contained in:
parent
640a0ca815
commit
39416abd47
1 changed files with 1 additions and 1 deletions
|
@ -430,7 +430,7 @@ const buttons = [
|
|||
onDelete(row);
|
||||
},
|
||||
disabled: (row: any) => {
|
||||
return row.status !== 'Success' && row.status !== 'Deleted';
|
||||
return row.status === 'Waiting';
|
||||
},
|
||||
},
|
||||
];
|
||||
|
|
Loading…
Add table
Reference in a new issue