Update status.jsx

pull/1031/head
shamoon 2 years ago
parent f9282180db
commit b2f26e1a43

@ -12,7 +12,7 @@ export default function Status({ service }) {
</div> </div>
} }
if (data && data.status.includes("running")) { if (data && data.status?.includes("running")) {
if (data.health === "starting") { if (data.health === "starting") {
return ( return (
<div className="w-auto px-1.5 py-0.5 text-center bg-theme-500/10 dark:bg-theme-900/50 rounded-b-[3px] overflow-hidden" title={data.health}> <div className="w-auto px-1.5 py-0.5 text-center bg-theme-500/10 dark:bg-theme-900/50 rounded-b-[3px] overflow-hidden" title={data.health}>

Loading…
Cancel
Save