File tree Expand file tree Collapse file tree 2 files changed +126
-12
lines changed
components/settings-category-form
spec/settings-category-form/__snapshots__ Expand file tree Collapse file tree 2 files changed +126
-12
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,8 @@ const createSchema = (newRecord) => ({
4343 name : 'show' ,
4444 label : __ ( 'Show in console' ) ,
4545 maxLength : 50 ,
46+ onText : __ ( 'Yes' ) ,
47+ offText : __ ( 'No' ) ,
4648 } ,
4749 {
4850 component : componentTypes . SWITCH ,
@@ -52,13 +54,17 @@ const createSchema = (newRecord) => ({
5254 maxLength : 50 ,
5355 isDisabled : ! newRecord ,
5456 className : 'settings_category_single_value' ,
57+ onText : __ ( 'Yes' ) ,
58+ offText : __ ( 'No' ) ,
5559 } ,
5660 {
5761 component : componentTypes . SWITCH ,
5862 id : 'perf_by_tag' ,
5963 name : 'perf_by_tag' ,
6064 label : __ ( 'Capture C & U Data by Tag' ) ,
6165 maxLength : 50 ,
66+ onText : __ ( 'Yes' ) ,
67+ offText : __ ( 'No' ) ,
6268 } ,
6369 {
6470 component : 'plain-text' ,
You can’t perform that action at this time.
0 commit comments