diff --git a/site/src/components/AuditLogRow/AuditLogRow.tsx b/site/src/components/AuditLogRow/AuditLogRow.tsx index 10719bbe34b4f..6dc7e42ceab2f 100644 --- a/site/src/components/AuditLogRow/AuditLogRow.tsx +++ b/site/src/components/AuditLogRow/AuditLogRow.tsx @@ -117,14 +117,12 @@ export const AuditLogRow: React.FC = ({ - - <>{t("auditLog:table.logRow.ip")} - - {auditLog.ip - ? auditLog.ip - : t("auditLog:table.logRow.notAvailable")} - - + {auditLog.ip && ( + + <>{t("auditLog:table.logRow.ip")} + {auditLog.ip} + + )} <>{t("auditLog:table.logRow.os")} diff --git a/site/src/i18n/en/auditLog.json b/site/src/i18n/en/auditLog.json index c0b9c5864d97a..cce2049f60ee6 100644 --- a/site/src/i18n/en/auditLog.json +++ b/site/src/i18n/en/auditLog.json @@ -12,7 +12,6 @@ "ip": "IP: ", "os": "OS: ", "browser": "Browser: ", - "notAvailable": "Not available", "onBehalfOf": " on behalf of {{owner}}", "buildReason": "Coder automatically" }