Skip to content

Commit b63b95d

Browse files
committed
Move device name edits for compat sessions to the card header
1 parent e99d621 commit b63b95d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/components/CompatSession.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,14 @@ const CompatSession: React.FC<{
4444
const data = useFragment(FRAGMENT, session);
4545

4646
const clientName =
47-
data.humanName ??
4847
(data.ssoLogin?.redirectUri
4948
? simplifyUrl(data.ssoLogin.redirectUri)
5049
: undefined);
5150

5251
const deviceType = data.userAgent?.deviceType ?? "UNKNOWN";
5352

5453
const deviceName =
54+
data.humanName ??
5555
data.userAgent?.model ??
5656
(data.userAgent?.name
5757
? data.userAgent?.os

0 commit comments

Comments
 (0)