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 55319e1 commit e342c60Copy full SHA for e342c60
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,15 @@ 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
109
110
return stats;
111
112
0 commit comments