diff --git a/src/components/widgets/resources/resources.jsx b/src/components/widgets/resources/resources.jsx index 315ebf18e..ae8f37941 100644 --- a/src/components/widgets/resources/resources.jsx +++ b/src/components/widgets/resources/resources.jsx @@ -8,11 +8,9 @@ export default function Resources({ options }) {
{options.cpu && } {options.memory && } - {Array.isArray(options.disk) ? ( - options.disk.map((disk) => ) - ) : ( - - )} + {Array.isArray(options.disk) + ? options.disk.map((disk) => ) + : options.disk && }
{options.label && (
{options.label}