Skip to content
This repository was archived by the owner on Oct 3, 2024. It is now read-only.

Commit e5547e9

Browse files
committed
Change "Use Subcategories" to "Include Subcategories"
1 parent 4cf4968 commit e5547e9

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

js/src/component/ItemForm.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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+
}

view/adminhtml/web/js/menu-editor.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)