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:
parent
640a0ca815
commit
39416abd47
@ -430,7 +430,7 @@ const buttons = [
|
|||||||
onDelete(row);
|
onDelete(row);
|
||||||
},
|
},
|
||||||
disabled: (row: any) => {
|
disabled: (row: any) => {
|
||||||
return row.status !== 'Success' && row.status !== 'Deleted';
|
return row.status === 'Waiting';
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user