We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa91024 commit 0ac0f39Copy full SHA for 0ac0f39
photon-client/src/components/settings/MetricsCard.vue
@@ -59,10 +59,6 @@ const platformMetrics = computed<MetricItem[]>(() => {
59
? `${metrics.ramUtil}MB of ${metrics.ramMem}MB`
60
: "Unknown"
61
},
62
- {
63
- header: "CPU Throttling",
64
- value: metrics.cpuThr?.toString() || "Unknown"
65
- },
66
{
67
header: "Uptime",
68
value: (() => {
@@ -102,6 +98,13 @@ const platformMetrics = computed<MetricItem[]>(() => {
102
98
});
103
99
}
104
100
101
+ if (metrics.cpuThr) {
+ stats.push({
+ header: "CPU Throttling",
+ value: metrics.cpuThr.toString()
105
+ });
106
+ }
107
+
108
return stats;
109
110
0 commit comments