We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a49e16d commit 65019abCopy full SHA for 65019ab
app/code/Magento/Catalog/view/adminhtml/web/js/category-checkbox-tree.js
@@ -162,13 +162,14 @@ define([
162
* @returns {void}
163
*/
164
categoryLoader.buildCategoryTree = function (parent, config) {// eslint-disable-line no-shadow
165
+ var i = 0;
166
167
if (!config) {
168
return null;
169
}
170
171
if (parent && config && config.length) {
- for (var i = 0; i < config.length; i++) {
172
+ for (i; i < config.length; i++) {
173
categoryLoader.processCategoryTree(parent, config, i);
174
175
0 commit comments