Skip to content

Commit

Permalink
fix(webapp): fix health check getStatus
Browse files Browse the repository at this point in the history
  • Loading branch information
Torresmorah committed Apr 25, 2023
1 parent d9222f9 commit f898943
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/components/EndpointsTable/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const EndpointsTable = ({ producers }) => {
const diffBlockTimems =
new Date(endpoint.updated_at) - new Date(endpoint.head_block_time)

return diffBlockTimems <= syncToleranceInterval
return diffBlockTimems <= syncToleranceInterval || !endpoint.head_block_time
}

const getStatus = endpoint => {
Expand Down

0 comments on commit f898943

Please sign in to comment.