mirror of
https://github.com/ckaczor/HomeMonitor.git
synced 2026-02-16 10:58:32 -05:00
Fix pressure units on indoor summary
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
import { ref, watch } from 'vue';
|
import { ref, watch } from 'vue';
|
||||||
import { createIndoorStore } from '@/stores/indoorStore';
|
import { createIndoorStore } from '@/stores/indoorStore';
|
||||||
import ReadingsAggregate from '@/models/environment/readingsAggregate';
|
import ReadingsAggregate from '@/models/environment/readingsAggregate';
|
||||||
import { ConvertPascalToInchesOfMercury } from '@/pressureConverter';
|
import { ConvertMillibarToInchesOfMercury } from '@/pressureConverter';
|
||||||
import { ConvertCToF } from '@/temperatureConverter';
|
import { ConvertCToF } from '@/temperatureConverter';
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
@@ -56,9 +56,9 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="reading-summary-header">Pressure</td>
|
<td class="reading-summary-header">Pressure</td>
|
||||||
<td>{{ ConvertPascalToInchesOfMercury(readingAggregates!.minimumPressure).toFixed(2) }}"</td>
|
<td>{{ ConvertMillibarToInchesOfMercury(readingAggregates!.minimumPressure).toFixed(2) }}"</td>
|
||||||
<td>{{ ConvertPascalToInchesOfMercury(readingAggregates!.averagePressure).toFixed(2) }}"</td>
|
<td>{{ ConvertMillibarToInchesOfMercury(readingAggregates!.averagePressure).toFixed(2) }}"</td>
|
||||||
<td>{{ ConvertPascalToInchesOfMercury(readingAggregates!.maximumPressure).toFixed(2) }}"</td>
|
<td>{{ ConvertMillibarToInchesOfMercury(readingAggregates!.maximumPressure).toFixed(2) }}"</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
Reference in New Issue
Block a user