fix: display perf tab whether or not modules are enabled

This commit is contained in:
2 * r + 2 * t 2026-05-03 16:50:57 +10:00
parent bb44aa0fbe
commit 3b1dd828f5

View file

@ -42,7 +42,7 @@ Item {
component: performanceComponent, component: performanceComponent,
iconName: "speed", iconName: "speed",
text: qsTr("Performance"), text: qsTr("Performance"),
enabled: Config.dashboard.showPerformance && (Config.dashboard.performance.showCpu || Config.dashboard.performance.showGpu || Config.dashboard.performance.showMemory || Config.dashboard.performance.showStorage || Config.dashboard.performance.showNetwork || Config.dashboard.performance.showBattery) enabled: Config.dashboard.showPerformance
}, },
{ {
component: weatherComponent, component: weatherComponent,