Add filters, remove override

This commit is contained in:
Robin van der Linde 2023-08-09 19:41:23 +02:00
parent c1a25af54d
commit 8485a4af03
Signed by untrusted user: Robin-van-der-Linde
GPG key ID: 53956B3252478F0D
2 changed files with 26 additions and 16 deletions

View file

@ -55,6 +55,28 @@
}
]
},
{
"id": "accepts_debit_cards",
"options": [
{
"osmTags": "payment:debit_cards=yes",
"question": {
"en": "Accepts debit cards"
}
}
]
},
{
"id": "accepts_credit_cards",
"options": [
{
"osmTags": "payment:credit_cards=yes",
"question": {
"en": "Accepts credit cards"
}
}
]
},
{
"id": "has_image",
"options": [

View file

@ -86,21 +86,7 @@
}
]
},
{
"id": "payment",
"builtin": "payment-options-split",
"override": {
"mappings": [
{},
{},
{},
{},
{
"hideInAnswer": true
}
]
}
},
"payment-options-split",
{
"id": "coin",
"question": {
@ -257,7 +243,9 @@
},
"deletion": true,
"filter": [
"open_now"
"open_now",
"accepts_debit_cards",
"accepts_credit_cards"
]
}
],