diff --git a/_frontend/src/components/widgets/DiskUsage.jsx b/_frontend/src/components/widgets/DiskUsage.jsx index 1d3573f..6cc7426 100644 --- a/_frontend/src/components/widgets/DiskUsage.jsx +++ b/_frontend/src/components/widgets/DiskUsage.jsx @@ -3,7 +3,7 @@ import { PieChart } from '../charts/PieChart.jsx' import { Icon } from '../Icon.jsx' import { ToastMessage, useToasts } from '../Toasts.jsx' -export const DiskUsage = ({ disk }) => { +export const DiskUsage = ({ disk, diskLabel }) => { const [showToast] = useToasts() const [output, err, refreshOutput] = useRemoteState( `/api/monitor/status?script=${encodeURIComponent(`disk-usage ${disk}`)}`, @@ -14,7 +14,7 @@ export const DiskUsage = ({ disk }) => { const title = ( <> - Spazio Utilizzato • {disk} + Spazio Utilizzato • {diskLabel || disk} )