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 {
5252 url : ''
5353 } ) ;
5454 }
55-
55+
5656 handleUseSubcategoriesChange ( val ) {
5757 this . setState ( {
5858 use_subcategories : val ? val . value : 0
@@ -111,17 +111,17 @@ export default class ItemForm extends React.Component {
111111 } else {
112112 image = < button onClick = { this . openFileBrowser . bind ( this ) } > Upload Image</ button >
113113 }
114-
114+
115115 let useSubcategories = null ;
116116 if ( this . state . category_id ) {
117117 const booleanOptions = [
118118 { value : 0 , label : 'No' } ,
119119 { value : 1 , label : 'Yes' }
120120 ] ;
121- useSubcategories =
121+ useSubcategories =
122122 < div className = "admin__field field" >
123123 < label className = "label admin__field-label" >
124- < span > Use Subcategories</ span >
124+ < span > Include Subcategories</ span >
125125 </ label >
126126 < div className = "admin__field-control control" >
127127 < 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 {
202202 </ form >
203203 ) ;
204204 }
205- }
205+ }
You can’t perform that action at this time.
0 commit comments