Skip to content
This repository was archived by the owner on Apr 23, 2025. It is now read-only.

Commit 72eba53

Browse files
committed
revert
1 parent 5098d12 commit 72eba53

File tree

2 files changed

+16
-40
lines changed

2 files changed

+16
-40
lines changed

blocks/product-teaser/_product-teaser.json

Lines changed: 8 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -35,28 +35,16 @@
3535
"description": "SKU to display"
3636
},
3737
{
38-
"component": "radio-group",
39-
"name": "cart-button",
40-
"label": "Show Cart Button",
41-
"valueType": "string",
42-
"options": [
43-
{
44-
"name": "On",
45-
"value": "true"
46-
}
47-
]
48-
},
49-
{
50-
"component": "radio-group",
38+
"component": "boolean",
5139
"name": "details-button",
5240
"label": "Show Details Button",
53-
"valueType": "string",
54-
"options": [
55-
{
56-
"name": "On",
57-
"value": "true"
58-
}
59-
]
41+
"valueType": "boolean"
42+
},
43+
{
44+
"component": "boolean",
45+
"name": "cart-button",
46+
"label": "Show Cart Button",
47+
"valueType": "boolean"
6048
}
6149
]
6250
}

component-models.json

Lines changed: 8 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -283,28 +283,16 @@
283283
"description": "SKU to display"
284284
},
285285
{
286-
"component": "radio-group",
287-
"name": "cart-button",
288-
"label": "Show Cart Button",
289-
"valueType": "string",
290-
"options": [
291-
{
292-
"name": "On",
293-
"value": "true"
294-
}
295-
]
296-
},
297-
{
298-
"component": "radio-group",
286+
"component": "boolean",
299287
"name": "details-button",
300288
"label": "Show Details Button",
301-
"valueType": "string",
302-
"options": [
303-
{
304-
"name": "On",
305-
"value": "true"
306-
}
307-
]
289+
"valueType": "boolean"
290+
},
291+
{
292+
"component": "boolean",
293+
"name": "cart-button",
294+
"label": "Show Cart Button",
295+
"valueType": "boolean"
308296
}
309297
]
310298
}

0 commit comments

Comments
 (0)