Skip to content

Commit

Permalink
add sensor number
Browse files Browse the repository at this point in the history
  • Loading branch information
meteyou committed May 8, 2020
1 parent de9485c commit 0bfde82
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/panels/ToolsPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
{{ heatersCount }} heaters
<span v-if="temperature_fans.length === 1">, {{ temperature_fans.length }} fan</span>
<span v-if="temperature_fans.length > 1">, {{ temperature_fans.length }} fans</span>
<span v-if="temperature_sensors.length === 1">, {{ temperature_sensors.length }} sensor</span>
<span v-if="temperature_sensors.length > 1">, {{ temperature_sensors.length }} sensors</span>
</v-list-item-subtitle>
</v-list-item-content>
</v-list-item>
Expand Down

0 comments on commit 0bfde82

Please sign in to comment.