webapp: Check if temperature is set

It seems that some ESPs don't have a temperature sensor anymore
This commit is contained in:
Thomas Basler 2024-06-29 00:08:57 +02:00
parent b9b2a19ac5
commit e4bbf55ea5

View File

@ -19,7 +19,7 @@
<th>{{ $t('hardwareinfo.CpuFrequency') }}</th>
<td>{{ systemStatus.cpufreq }} {{ $t('hardwareinfo.Mhz') }}</td>
</tr>
<tr>
<tr v-if="systemStatus.cputemp">
<th>{{ $t('hardwareinfo.CpuTemperature') }}</th>
<td>{{ $n(systemStatus.cputemp, 'celsius') }}</td>
</tr>