diff --git a/src/components/widgets/glances/glances.jsx b/src/components/widgets/glances/glances.jsx index 689a1e10a..092636aa2 100644 --- a/src/components/widgets/glances/glances.jsx +++ b/src/components/widgets/glances/glances.jsx @@ -33,8 +33,8 @@ export default function Widget({ options }) { if (!data) { return - - + { options.cpu !== false && } + { options.mem !== false && } { options.cputemp && } { options.disk && !Array.isArray(options.disk) && } { options.disk && Array.isArray(options.disk) && options.disk.map((disk) => ) } @@ -71,7 +71,7 @@ export default function Widget({ options }) { return ( - - } + {options.mem !== false && + />} {disks.map((disk) => (