mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
Describe a device-served strain score by the device line alone
The proxy's TRIMP method sat above the device note and described a number the card was not showing.
This commit is contained in:
1 parent
dd49ec63a6
commit
7d3ee68bf1
1 file changed
+5
-1
@@ -159,7 +159,11 @@ export function CompositeScoreAnatomy({
|
||||
// above the method in warning colour is gone: it repeated on every score
|
||||
// page what the method and the page explainer already say, and read as an
|
||||
// alarm. The method copy closes the card on its own.
|
||||
const method = (
|
||||
// Served from the device, the proxy's method does not describe the number
|
||||
// on the card; the device line does, on its own.
|
||||
const method = deviceStrain ? (
|
||||
anchorLine
|
||||
) : (
|
||||
<>
|
||||
{t(meta.methodKey)}
|
||||
{anchorLine ? <span className="mt-1 block">{anchorLine}</span> : null}
|
||||
|
||||
Reference in new issue
Block a user