We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f0a175f + 9415a48 commit 186b1faCopy full SHA for 186b1fa
jupyter_resource_usage/static/main.js
@@ -74,7 +74,7 @@ define([
74
75
// Handle CPU display
76
var cpuPercent = data['cpu_percent'];
77
- if (cpuPercent) {
+ if (cpuPercent !== undefined) {
78
// Remove hide CSS class if the metrics API gives us a CPU percent to display
79
$('#jupyter-resource-usage-display-cpu').removeClass('jupyter-resource-usage-hide');
80
var maxCpu = data['cpu_count'];
0 commit comments