diff --git a/src/components/routes/admin/error_viewer.tsx b/src/components/routes/admin/error_viewer.tsx
index 0b5a4755b..fc47d12ef 100644
--- a/src/components/routes/admin/error_viewer.tsx
+++ b/src/components/routes/admin/error_viewer.tsx
@@ -72,7 +72,7 @@ function ErrorDetail({ error }) {
{error.response.service_name}
{`${error.response.service_version}${
- error.response.service_tool_version && ` (${error.response.service_tool_version})`
+ error.response.service_tool_version ? ` (${error.response.service_tool_version})` : ''
}`}