Skip to content

Commit 1c330b6

Browse files
committed
fix MFA inidcators/tooltips
1 parent 1108970 commit 1c330b6

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

src/features/account/LogInSessions.tsx

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,25 @@ const MfaStatusIndicator: FC<{ mfa: 'USED' | 'NOT_USED' | 'UNKNOWN' }> = ({
2525
if (mfa === 'USED') {
2626
return (
2727
<Tooltip title="MFA used">
28-
<FontAwesomeIcon icon={faCheck} style={{ color: 'green' }} />
28+
<span>
29+
<FontAwesomeIcon icon={faCheck} style={{ color: 'green' }} />
30+
</span>
2931
</Tooltip>
3032
);
3133
} else if (mfa === 'NOT_USED') {
3234
return (
3335
<Tooltip title="Single factor">
34-
<FontAwesomeIcon icon={faCheck} style={{ color: 'red' }} />
36+
<span>
37+
<FontAwesomeIcon icon={faX} style={{ color: 'red' }} />
38+
</span>
3539
</Tooltip>
3640
);
3741
} else {
3842
return (
3943
<Tooltip title="MFA status unknown">
40-
<FontAwesomeIcon icon={faCheck} style={{ color: 'grey' }} />
44+
<span>
45+
<FontAwesomeIcon icon={faX} style={{ color: 'grey' }} />
46+
</span>
4147
</Tooltip>
4248
);
4349
}
@@ -92,7 +98,7 @@ export const LogInSessions: FC = () => {
9298
<TableCell>Browser</TableCell>
9399
<TableCell>Operating System</TableCell>
94100
<TableCell>IP Address</TableCell>
95-
<TableCell>MFA Status</TableCell>
101+
<TableCell>MFA</TableCell>
96102
<TableCell>Action</TableCell>
97103
</TableRow>
98104
</TableHead>
@@ -135,7 +141,7 @@ export const LogInSessions: FC = () => {
135141
<TableCell>Browser</TableCell>
136142
<TableCell>Operating System</TableCell>
137143
<TableCell>IP Address</TableCell>
138-
<TableCell>MFA Status</TableCell>
144+
<TableCell>MFA</TableCell>
139145
<TableCell>Action</TableCell>
140146
</TableRow>
141147
</TableHead>

0 commit comments

Comments
 (0)