fix variable

This commit is contained in:
notiant
2026-02-04 04:12:27 +01:00
committed by GitHub
parent f0cc2735e1
commit bc5ea26f3c
+1 -1
View File
@@ -112,7 +112,7 @@ NBox {
target: SystemStatService
function onDiskPercentsChanged() {
if (TooltipService.activeTooltip && TooltipService.activeTooltip.targetItem === diskPercentsGauge) {
TooltipService.updateText(I18n.tr("system-monitor.disk") + `: ${SystemStatService.diskPercents[panelContent.diskPath] || 0}%\n${panelContent.diskPath}`)
TooltipService.updateText(I18n.tr("system-monitor.disk") + `: ${SystemStatService.diskPercents[panelContent.diskPath] || 0}%\n${root.diskPath}`)
}
}
}