From d05ab3d4ee5a84ba107230842329f5d698f4d72c Mon Sep 17 00:00:00 2001 From: Steve Garon Date: Mon, 27 Sep 2021 14:46:12 +0000 Subject: [PATCH] Don't show 0 versions --- src/components/routes/admin/error_viewer.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/routes/admin/error_viewer.tsx b/src/components/routes/admin/error_viewer.tsx index 023f84999..4c0099b54 100644 --- a/src/components/routes/admin/error_viewer.tsx +++ b/src/components/routes/admin/error_viewer.tsx @@ -71,7 +71,8 @@ function ErrorDetail({ error }) { {error.response.service_name} - {(error.response.service_version !== 0 || error.response.service_version !== '0') && + {error.response.service_version !== 0 && + error.response.service_version !== '0' && error.response.service_version} {error.response.service_tool_version && ` (${error.response.service_tool_version})`}