Fix error glances cpu data not available yet (#1932)

This commit is contained in:
shamoon 2023-09-08 08:58:56 -07:00 committed by GitHub
parent 9569f56aa5
commit 89f2e9739d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -60,7 +60,7 @@ export default function Component({ service }) {
/>
)}
{ !chart && (
{ !chart && systemData && !systemError && (
<Block position="top-3 right-3">
<div className="text-xs opacity-50">
{systemData.linux_distro && `${systemData.linux_distro} - ` }