Skip to content

Commit 0d23e10

Browse files
committed
console: Fix green dot
1 parent 6736c24 commit 0d23e10

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • pkg/webui/console/containers/gateway-status-panel

pkg/webui/console/containers/gateway-status-panel/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ const GatewayStatusPanel = () => {
118118

119119
const hasError = Boolean(error) && Boolean(error.message)
120120
const isUnavailable = hasError && error.message === 'Unavailable' && !fetching && !gatewayStats
121+
const isLoadingWithError = hasError && error.message === 'Unavailable' && !gatewayStats
121122

122123
const maxRoundTripTime = useMemo(
123124
() =>
@@ -155,7 +156,7 @@ const GatewayStatusPanel = () => {
155156
status={
156157
isDisconnected
157158
? 'bad'
158-
: isFetching || noConnectionYet
159+
: isFetching || noConnectionYet || isLoadingWithError
159160
? 'mediocre'
160161
: isConnected
161162
? 'green'

0 commit comments

Comments
 (0)