File tree 2 files changed +7
-7
lines changed
components/Dashboard/DeploymentBanner
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -179,20 +179,20 @@ export const DeploymentBannerView: FC<DeploymentBannerViewProps> = (props) => {
179
179
We have detected problems with your Coder deployment.
180
180
</ HelpTooltipTitle >
181
181
< Stack spacing = { 1 } >
182
- { health . access_url && (
182
+ { ! health . access_url . healthy && (
183
183
< HealthIssue >
184
184
Your access URL may be configured incorrectly.
185
185
</ HealthIssue >
186
186
) }
187
- { health . database && (
187
+ { ! health . database . healthy && (
188
188
< HealthIssue > Your database is unhealthy.</ HealthIssue >
189
189
) }
190
- { health . derp && (
190
+ { ! health . derp . healthy && (
191
191
< HealthIssue >
192
192
We're noticing DERP proxy issues.
193
193
</ HealthIssue >
194
194
) }
195
- { health . websocket && (
195
+ { ! health . websocket . healthy && (
196
196
< HealthIssue >
197
197
We're noticing websocket issues.
198
198
</ HealthIssue >
@@ -406,8 +406,8 @@ const WorkspaceBuildValue: FC<{
406
406
407
407
const HealthIssue : FC < PropsWithChildren > = ( { children } ) => {
408
408
return (
409
- < Stack direction = "row" spacing = { 1 } >
410
- < ErrorIcon fontSize = "small" htmlColor = { colors . red [ 10 ] } />
409
+ < Stack direction = "row" spacing = { 1 } alignItems = "center" >
410
+ < ErrorIcon css = { { width : 16 , height : 16 } } htmlColor = { colors . red [ 10 ] } />
411
411
{ children }
412
412
</ Stack >
413
413
) ;
Original file line number Diff line number Diff line change @@ -2817,7 +2817,7 @@ export const DeploymentHealthUnhealthy: Health = {
2817
2817
healthy : false ,
2818
2818
time : "2023-10-12T23:15:00.000000000Z" ,
2819
2819
coder_version : "v2.3.0-devel+8cca4915a" ,
2820
- access_url : { healthy : false } ,
2820
+ access_url : { healthy : true } ,
2821
2821
database : { healthy : false } ,
2822
2822
derp : { healthy : false } ,
2823
2823
websocket : { healthy : false } ,
You can’t perform that action at this time.
0 commit comments