mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 13:01:00 +00:00
refactor(insights): use the shared rescale predicate in the status note
Refs #1067
This commit is contained in:
1 parent
b788b5b8b2
commit
0039bd1d1f
1 file changed
+1
-1
@@ -679,7 +679,7 @@ function readingDisplay(
|
||||
meta.measurementType,
|
||||
preferences,
|
||||
);
|
||||
const converts = transform.factor !== 1 || (transform.offset ?? 0) !== 0;
|
||||
const converts = transformRescales(transform);
|
||||
return {
|
||||
unit: transform.displayUnit,
|
||||
decimals: transform.decimals,
|
||||
|
||||
Reference in new issue
Block a user