This repository was archived by the owner on Oct 3, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ export default class ItemForm extends React.Component {
52
52
url : ''
53
53
} ) ;
54
54
}
55
-
55
+
56
56
handleUseSubcategoriesChange ( val ) {
57
57
this . setState ( {
58
58
use_subcategories : val ? val . value : 0
@@ -111,17 +111,17 @@ export default class ItemForm extends React.Component {
111
111
} else {
112
112
image = < button onClick = { this . openFileBrowser . bind ( this ) } > Upload Image</ button >
113
113
}
114
-
114
+
115
115
let useSubcategories = null ;
116
116
if ( this . state . category_id ) {
117
117
const booleanOptions = [
118
118
{ value : 0 , label : 'No' } ,
119
119
{ value : 1 , label : 'Yes' }
120
120
] ;
121
- useSubcategories =
121
+ useSubcategories =
122
122
< div className = "admin__field field" >
123
123
< label className = "label admin__field-label" >
124
- < span > Use Subcategories</ span >
124
+ < span > Include Subcategories</ span >
125
125
</ label >
126
126
< div className = "admin__field-control control" >
127
127
< Select name = "use_subcategories" value = { this . state . use_subcategories } onChange = { this . handleUseSubcategoriesChange } options = { booleanOptions } />
@@ -202,4 +202,4 @@ export default class ItemForm extends React.Component {
202
202
</ form >
203
203
) ;
204
204
}
205
- }
205
+ }
You can’t perform that action at this time.
0 commit comments