mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-02 17:26:24 +00:00
fix(ci): narrow the optional cloud checkout price [skip ci]
The strict client check rejected a nullable DOM child when the checkout had no price label. Append the price only when present and retain the standard strict baseline.
This commit is contained in:
@@ -1326,7 +1326,7 @@ function showClaim(
|
||||
const planRow = el(
|
||||
'div',
|
||||
{ className: 'plan-row' },
|
||||
el('span', {}, el('b', {}, plan.name), planPrice),
|
||||
el('span', {}, el('b', {}, plan.name), ...(planPrice ? [planPrice] : [])),
|
||||
// A purchase already made is not a choice any more.
|
||||
...(bought ? [] : [change])
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user