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
+2
View File
@@ -783,6 +783,8 @@ function safeValidationDetail(detail: string): string | undefined {
return "请输入当前登录密码。";
case "running or installing server instances must be stopped before delete":
return "运行中或安装中的服务器必须先停止再删除。";
case "running or installing server instances require forced-delete confirmation":
return "运行中或安装中的服务器需要强制删除确认。";
default:
return sanitized || undefined;
}