Skip to content

Commit

Permalink
Don't show 0 versions
Browse files Browse the repository at this point in the history
  • Loading branch information
cccs-sgaron committed Sep 27, 2021
1 parent f565849 commit d05ab3d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/routes/admin/error_viewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ function ErrorDetail({ error }) {
<Grid item xs={6} sm={8}>
<Typography variant="h5">{error.response.service_name}</Typography>
<Typography variant="caption">
{(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})`}
</Typography>
Expand Down

0 comments on commit d05ab3d

Please sign in to comment.