Allow forced server deletion

This commit is contained in:
npc0-hue
2026-08-04 15:03:49 +08:00
parent 96a1939f32
commit cf9af14eaf
17 changed files with 236 additions and 24 deletions
+1 -1
View File
@@ -163,5 +163,5 @@ export function serverMetadataFormFromInstance(instance: ServerInstanceResponse)
}
export function canDeleteServer(state: ServerInstanceState): boolean {
return state !== "running" && state !== "installing" && state !== "deleted";
return state !== "deleted";
}