Skip to content

Commit

Permalink
status: prevent big red rows
Browse files Browse the repository at this point in the history
  • Loading branch information
pulsejet committed May 11, 2024
1 parent c265a39 commit bf7885d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions framework/ndn-testbed-status/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@
</td>

<td v-for="node in routers" :class="{
error: !router.fetching && !router.status?.ndnping[node.shortname],
okay: (router.shortname != node.shortname) && (router.status?.ndnping[node.shortname] ?? 0 > 0),
blue: (router.shortname == node.shortname),
error: router.status && !router.status?.ndnping[node.shortname],
okay: router.status && (router.shortname != node.shortname) && (router.status?.ndnping[node.shortname] ?? 0 > 0),
blue: router.status && (router.shortname == node.shortname),
}">
{{ router.status?.ndnping[node.shortname] || '' }}
</td>
Expand Down

0 comments on commit bf7885d

Please sign in to comment.