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:
@@ -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") },
|
||||
|
||||
Reference in New Issue
Block a user