mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-09 23:12:06 -03:30
Fixes #32916 Signed-off-by: Stan Silvert <ssilvert@redhat.com> (cherry picked from commit 01601beaa8bca39232784f643fd06fe65ce5101c)
This commit is contained in:
parent
9d5ccfb22d
commit
15179146ef
@ -27,6 +27,7 @@ import {
|
||||
ContinueCancelModal,
|
||||
useAlerts,
|
||||
useEnvironment,
|
||||
label,
|
||||
} from "@keycloak/keycloak-ui-shared";
|
||||
import { deleteSession, getDevices } from "../api/methods";
|
||||
import {
|
||||
@ -35,7 +36,6 @@ import {
|
||||
SessionRepresentation,
|
||||
} from "../api/representations";
|
||||
import { Page } from "../components/page/Page";
|
||||
import { TFuncKey } from "../i18n";
|
||||
import { formatDate } from "../utils/formatDate";
|
||||
import { usePromise } from "../utils/usePromise";
|
||||
|
||||
@ -91,7 +91,7 @@ export const DeviceActivity = () => {
|
||||
clients.forEach((client, index) => {
|
||||
let clientName: string;
|
||||
if (client.clientName !== "") {
|
||||
clientName = t(client.clientName as TFuncKey);
|
||||
clientName = label(t, client.clientName);
|
||||
} else {
|
||||
clientName = client.clientId;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user