diff --git a/packages/website/src/common/Chart/MultipleSensorsCharts/__snapshots__/index.test.tsx.snap b/packages/website/src/common/Chart/MultipleSensorsCharts/__snapshots__/index.test.tsx.snap index 038c775d0..da738e124 100644 --- a/packages/website/src/common/Chart/MultipleSensorsCharts/__snapshots__/index.test.tsx.snap +++ b/packages/website/src/common/Chart/MultipleSensorsCharts/__snapshots__/index.test.tsx.snap @@ -794,7 +794,7 @@ exports[`MultipleSensorsCharts should render with given state from Redux store 1 > 36.1 - psu + ppt
34.9 - psu + ppt
33.8 - psu + ppt
diff --git a/packages/website/src/common/SiteDetails/WaterSampling/utils.ts b/packages/website/src/common/SiteDetails/WaterSampling/utils.ts index 185e39d33..7b7684cf5 100644 --- a/packages/website/src/common/SiteDetails/WaterSampling/utils.ts +++ b/packages/website/src/common/SiteDetails/WaterSampling/utils.ts @@ -123,7 +123,7 @@ export function metricFields( { label: 'Salinity', value: `${formatNumber(data?.salinity, 1)}`, - unit: 'psu', + unit: source === 'hui' ? 'ppt' : 'psu', xs: 6, }, ]; diff --git a/packages/website/src/constants/chartConfigs/huiConfig.ts b/packages/website/src/constants/chartConfigs/huiConfig.ts index 53c2c0488..63db08777 100644 --- a/packages/website/src/constants/chartConfigs/huiConfig.ts +++ b/packages/website/src/constants/chartConfigs/huiConfig.ts @@ -9,7 +9,7 @@ export type SondeMetricsKeys = Extract< export const huiConfig: Record = { salinity: { title: 'Salinity', - units: 'psu', + units: 'ppt', description: '', visibility: 'public', order: 1,