We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6736c24 commit 0d23e10Copy full SHA for 0d23e10
1 file changed
pkg/webui/console/containers/gateway-status-panel/index.js
@@ -118,6 +118,7 @@ const GatewayStatusPanel = () => {
118
119
const hasError = Boolean(error) && Boolean(error.message)
120
const isUnavailable = hasError && error.message === 'Unavailable' && !fetching && !gatewayStats
121
+ const isLoadingWithError = hasError && error.message === 'Unavailable' && !gatewayStats
122
123
const maxRoundTripTime = useMemo(
124
() =>
@@ -155,7 +156,7 @@ const GatewayStatusPanel = () => {
155
156
status={
157
isDisconnected
158
? 'bad'
- : isFetching || noConnectionYet
159
+ : isFetching || noConnectionYet || isLoadingWithError
160
? 'mediocre'
161
: isConnected
162
? 'green'
0 commit comments