File tree Expand file tree Collapse file tree 1 file changed +8
-16
lines changed
site/src/pages/HealthPage Expand file tree Collapse file tree 1 file changed +8
-16
lines changed Original file line number Diff line number Diff line change @@ -73,19 +73,11 @@ export const HealthLayout: FC = () => {
73
73
</ Helmet >
74
74
75
75
< DashboardFullPage >
76
- < div
77
- className = "flex basis-0 flex-1 overflow-hidden"
78
- >
79
- < div
80
- className = "w-64 shrink-0 text-sm border-0 border-solid border-r border-r-border"
81
- >
82
- < div
83
- className = "flex flex-col gap-4 p-6"
84
- >
76
+ < div className = "flex basis-0 flex-1 overflow-hidden" >
77
+ < div className = "w-64 shrink-0 text-sm border-0 border-solid border-r border-r-border" >
78
+ < div className = "flex flex-col gap-4 p-6" >
85
79
< div >
86
- < div
87
- className = "flex items-center justify-between"
88
- >
80
+ < div className = "flex items-center justify-between" >
89
81
< HealthIcon size = { 32 } severity = { healthStatus . severity } />
90
82
91
83
< Tooltip title = "Refresh health checks" >
@@ -116,10 +108,10 @@ export const HealthLayout: FC = () => {
116
108
>
117
109
{ healthStatus . healthy
118
110
? Object . keys ( visibleSections ) . some ( ( key ) => {
119
- const section =
120
- healthStatus [ key as keyof typeof visibleSections ] ;
121
- return section . warnings && section . warnings . length > 0 ;
122
- } )
111
+ const section =
112
+ healthStatus [ key as keyof typeof visibleSections ] ;
113
+ return section . warnings && section . warnings . length > 0 ;
114
+ } )
123
115
? "All systems operational, but performance might be degraded"
124
116
: "All systems operational"
125
117
: "Some issues have been detected" }
You can’t perform that action at this time.
0 commit comments