File tree 2 files changed +6
-9
lines changed
2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -117,14 +117,12 @@ export const AuditLogRow: React.FC<AuditLogRowProps> = ({
117
117
118
118
< Stack direction = "row" alignItems = "center" >
119
119
< Stack direction = "row" spacing = { 1 } alignItems = "baseline" >
120
- < span className = { styles . auditLogInfo } >
121
- < > { t ( "auditLog:table.logRow.ip" ) } </ >
122
- < strong >
123
- { auditLog . ip
124
- ? auditLog . ip
125
- : t ( "auditLog:table.logRow.notAvailable" ) }
126
- </ strong >
127
- </ span >
120
+ { auditLog . ip && (
121
+ < span className = { styles . auditLogInfo } >
122
+ < > { t ( "auditLog:table.logRow.ip" ) } </ >
123
+ < strong > { auditLog . ip } </ strong >
124
+ </ span >
125
+ ) }
128
126
129
127
< span className = { styles . auditLogInfo } >
130
128
< > { t ( "auditLog:table.logRow.os" ) } </ >
Original file line number Diff line number Diff line change 12
12
"ip" : " IP: " ,
13
13
"os" : " OS: " ,
14
14
"browser" : " Browser: " ,
15
- "notAvailable" : " Not available" ,
16
15
"onBehalfOf" : " on behalf of {{owner}}" ,
17
16
"buildReason" : " Coder automatically"
18
17
}
You can’t perform that action at this time.
0 commit comments