We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent529449b commit735586dCopy full SHA for 735586d
site/src/pages/TaskPage/TaskAppIframe.tsx
@@ -84,9 +84,7 @@ export const TaskAppIFrame: FC<TaskAppIFrameProps> = ({
84
</div>
85
)}
86
87
-{app.health==="healthy"||
88
-app.health==="disabled"||
89
-app.health==="unhealthy" ?(
+{app.health==="healthy"||app.health==="disabled" ?(
90
<iframe
91
ref={frameRef}
92
src={link.href}
@@ -95,6 +93,15 @@ export const TaskAppIFrame: FC<TaskAppIFrameProps> = ({
95
93
className={"w-full h-full border-0"}
96
94
allow="clipboard-read; clipboard-write"
97
/>
+) :app.health==="unhealthy" ?(
+<divclassName="w-full h-full flex flex-col items-center justify-center">
98
+<h3className="m-0 font-medium text-content-primary text-base">
99
+App unhealthy
100
+</h3>
101
+<spanclassName="text-content-secondary text-sm">
102
+Check the logs for details
103
+</span>
104
+</div>
105
) :app.health==="initializing" ?(
106
<divclassName="w-full h-full flex items-center justify-center">
107
<Spinnerloading/>