fix: could not delete model (#1779)
This commit is contained in:
parent
917d69db37
commit
c2310ed030
@ -180,7 +180,7 @@ export default function RowModel(props: RowModelProps) {
|
||||
)}
|
||||
onClick={() => {
|
||||
setTimeout(async () => {
|
||||
if (serverEnabled) {
|
||||
if (!serverEnabled) {
|
||||
await stopModel()
|
||||
deleteModel(props.data)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user