Skip to content

Commit

Permalink
status: fix ws-tls color
Browse files Browse the repository at this point in the history
  • Loading branch information
pulsejet committed May 11, 2024
1 parent 23e3864 commit 7d93c07
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion framework/ndn-testbed-status/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@
warning: (router.status?.tls?.expiry ?? -1) < 0,
okay: getFromNow(router.status?.tls?.expiry ?? -1) > 7 * 86400,
}">{{ getFromNowStr(router.status?.tls?.expiry, 'days') || router.status?.tls?.error }}</td>
<td :class="{ okay: router.status?.['ws-tls']}">
<td :class="{
okay: !!router.status?.['ws-tls'],
warning: !router.status?.['ws-tls'],
}">
{{ router.status?.['ws-tls'] ? 'OK' : '' }}
</td>
<td>
Expand Down

0 comments on commit 7d93c07

Please sign in to comment.