mirror of
https://github.com/Buriburizaem0n/admin-frontend-domain.git
synced 2026-02-04 04:30:06 +00:00
fix: block button
This commit is contained in:
@@ -126,7 +126,7 @@ export function HeaderBlockButtonGroup<E, U>({
|
||||
<>
|
||||
<AlertDialog>
|
||||
<AlertDialogTrigger asChild>
|
||||
<IconButton variant="destructive" icon="trash" />
|
||||
<IconButton variant="destructive" icon="ban" />
|
||||
</AlertDialogTrigger>
|
||||
<AlertDialogContent className="sm:max-w-lg">
|
||||
<AlertDialogHeader>
|
||||
|
||||
@@ -168,7 +168,7 @@
|
||||
"GrpcAuthFailed": "gRPC authentication failed",
|
||||
"APITokenInvalid": "API token is invalid",
|
||||
"UserInvalid": "User is invalid",
|
||||
"BlockByUser": "Blocked by user",
|
||||
"BlockByUser": "Blocked by admin",
|
||||
"BlockIdentifier": "Block identifier",
|
||||
"UserId": "User ID",
|
||||
"ConnectedAt": "Connected at",
|
||||
|
||||
@@ -168,7 +168,7 @@
|
||||
"GrpcAuthFailed": "gRPC 认证失败",
|
||||
"APITokenInvalid": "API 令牌无效",
|
||||
"UserInvalid": "用户无效",
|
||||
"BlockByUser": "被用户封禁",
|
||||
"BlockByUser": "被管理员封禁",
|
||||
"BlockIdentifier": "封禁标识",
|
||||
"UserId": "用户 ID",
|
||||
"ConnectedAt": "连接时间",
|
||||
|
||||
@@ -168,7 +168,7 @@
|
||||
"GrpcAuthFailed": "gRPC 認證失敗",
|
||||
"APITokenInvalid": "API 令牌無效",
|
||||
"UserInvalid": "使用者無效",
|
||||
"BlockByUser": "被使用者封鎖",
|
||||
"BlockByUser": "被管理员封鎖",
|
||||
"BlockIdentifier": "封鎖標識符",
|
||||
"UserId": "使用者 ID",
|
||||
"ConnectedAt": "連接時間",
|
||||
|
||||
@@ -15,6 +15,7 @@ export const wafBlockReasons: Record<number, string> = {
|
||||
1: i18n.t("LoginFailed"),
|
||||
2: i18n.t("BruteForceAttackingToken"),
|
||||
3: i18n.t("BruteForceAttackingAgentSecret"),
|
||||
4: i18n.t("BlockByUser"),
|
||||
}
|
||||
|
||||
export const wafBlockIdentifiers: Record<number, string> = {
|
||||
|
||||
Reference in New Issue
Block a user