Skip to content

Commit 5e9f380

Browse files
author
Ihor Melnychenko
committed
MAGETWO-44670: "Store View" dropdown content is displayed broken on new filters in Admin data grids
1 parent 80c5e2b commit 5e9f380

File tree

1 file changed

+3
-2
lines changed
  • app/code/Magento/Ui/view/base/web/js/lib/ko/bind

1 file changed

+3
-2
lines changed

app/code/Magento/Ui/view/base/web/js/lib/ko/bind/optgroup.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,8 @@ define([
265265
var value = applyToObject(option, optionsValue, option),
266266
label = applyToObject(option, optionsText, value) || '',
267267
title = applyToObject(option, optionsText, value) || '',
268-
obj = {};
268+
obj = {},
269+
space = '\u2007\u2007\u2007';
269270

270271
obj[optionTitle] = applyToObject(option, optionsText + 'title', value);
271272

@@ -276,7 +277,7 @@ define([
276277
res.push(obj);
277278
res = res.concat(formatOptions(value));
278279
} else {
279-
obj[optionsText] = strPad('  ', nestedOptionsLevel * 2) + label;
280+
obj[optionsText] = strPad(space, nestedOptionsLevel * 2) + label;
280281
obj[optionsValue] = value;
281282
res.push(obj);
282283
}

0 commit comments

Comments
 (0)