Skip to content

Commit

Permalink
fix(dashboard): fix error about cpu temp when changing nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
ravenclaw900 committed Jul 2, 2022
1 parent 41c4448 commit 495fe5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/src/pages/Home.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@
</Card>
<Card header="System Stats">
{#if ramData != undefined}
{#if socketData.temp.available}
{#if socketData.temp != undefined && socketData.temp.available}
<div class="text-center">
<span class={getTempClass(socketData.temp.celsius)}>
{socketData.temp.celsius}ºC/{socketData.temp
Expand Down

0 comments on commit 495fe5e

Please sign in to comment.