fix(i18n): use users namespace for admin label in service users table

The admin key lives in the users namespace, not common. Remove the type-unsafe tCommon call and its fallback string.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
2026-06-26 15:18:06 +00:00
parent 083b5dbdbe
commit 9bb8d2f09a

View File

@@ -137,8 +137,8 @@ export default function ServiceUsersTable({
const roleOptions = useMemo<CheckboxOption<string>[]>(
() => [
{ value: "admin", label: tCommon("admin" as any) || "Admin" },
{ value: "user", label: tCommon("user" as any) || "User" },
{ value: "admin", label: tUsers("admin") },
{ value: "user", label: tUsers("user") },
{ value: "network_admin", label: tUsers("networkAdmin") },
{ value: "billing_admin", label: tUsers("billingAdmin") },
{ value: "auditor", label: tUsers("auditor") },