Skip to content

Commit

Permalink
Merge pull request #226 from hchargois/fix-cpu-invisible-if-0
Browse files Browse the repository at this point in the history
Fix CPU bar not shown in Nodes table if cpu=0%
  • Loading branch information
cars10 authored May 2, 2024
2 parents be4c963 + 140c5a9 commit 71e77d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/nodes/NodesTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<span v-if="row.load_1m">{{ row.load_1m }} / {{ row.load_5m }} / {{ row.load_15m }}</span>
</td>
<td>
<div v-if="row.cpu">
<div v-if="!isNaN(row.cpu)">
{{ row.cpu }}%
<node-percent-progress :value="row.cpu" class="q-mt-xs" />
</div>
Expand Down

0 comments on commit 71e77d9

Please sign in to comment.