From 7d95bfc27aae029c96c2c64cffd380a2c064fce0 Mon Sep 17 00:00:00 2001 From: Chris Kaczor Date: Fri, 15 Mar 2024 01:37:11 +0000 Subject: [PATCH] Fix pressure units on indoor summary --- WebDisplay/src/components/IndoorSummary.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/WebDisplay/src/components/IndoorSummary.vue b/WebDisplay/src/components/IndoorSummary.vue index e12eca7..594f7f0 100644 --- a/WebDisplay/src/components/IndoorSummary.vue +++ b/WebDisplay/src/components/IndoorSummary.vue @@ -2,7 +2,7 @@ import { ref, watch } from 'vue'; import { createIndoorStore } from '@/stores/indoorStore'; import ReadingsAggregate from '@/models/environment/readingsAggregate'; - import { ConvertPascalToInchesOfMercury } from '@/pressureConverter'; + import { ConvertMillibarToInchesOfMercury } from '@/pressureConverter'; import { ConvertCToF } from '@/temperatureConverter'; const props = defineProps({ @@ -56,9 +56,9 @@ Pressure - {{ ConvertPascalToInchesOfMercury(readingAggregates!.minimumPressure).toFixed(2) }}" - {{ ConvertPascalToInchesOfMercury(readingAggregates!.averagePressure).toFixed(2) }}" - {{ ConvertPascalToInchesOfMercury(readingAggregates!.maximumPressure).toFixed(2) }}" + {{ ConvertMillibarToInchesOfMercury(readingAggregates!.minimumPressure).toFixed(2) }}" + {{ ConvertMillibarToInchesOfMercury(readingAggregates!.averagePressure).toFixed(2) }}" + {{ ConvertMillibarToInchesOfMercury(readingAggregates!.maximumPressure).toFixed(2) }}"