Fix temperature - always show if 1+ temp selected
This commit is contained in:
parent
0f519960c3
commit
53ecf8bc9a
|
|
@ -106,7 +106,7 @@
|
|||
|
||||
|
||||
|
||||
<!-- Температуры: один общий график -->
|
||||
<!-- Температуры: всегда один общий график, если выбрана хоть 1 температура -->
|
||||
{% set has_temps = false %}
|
||||
{% for metricName in displayMetrics %}
|
||||
{% if metricName starts with 'temp_' %}
|
||||
|
|
@ -125,7 +125,7 @@
|
|||
<canvas id="chart-temperatures" width="100%" height="300"></canvas>
|
||||
{% else %}
|
||||
<div class="alert alert-info mb-0">
|
||||
<i class="fas fa-thermometer-half"></i> Температурные датчики недоступны (возможно виртуальный сервер)
|
||||
<i class="fas fa-thermometer-half"></i> Температурные датчики не выбраны
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue