Add payment options to toilet, isolate tagrendering-override

This commit is contained in:
pietervdvn 2021-11-07 15:31:51 +01:00
parent 292aabed6d
commit 69daae955a
2 changed files with 5 additions and 1 deletions

View file

@ -85,7 +85,7 @@ export default class WithContextLoader {
)}\n If you intent to output this text literally, use {\"render\": <your text>} instead"}`;
}
if (renderingJson["override"] !== undefined) {
sharedJson = Utils.Merge(renderingJson["override"], sharedJson)
sharedJson = Utils.Merge(renderingJson["override"], JSON.parse(JSON.stringify(sharedJson)))
}
renderingJson = sharedJson
}

View file

@ -227,6 +227,10 @@
},
"id": "toilet-charge"
},
{
"builtin": "payment-options",
"override": {}
},
{
"id": "toilets-wheelchair",
"question": {