Skip to content

Commit 35478d2

Browse files
committed
MC-25250: DropDown attribute with label 'select' break product edit page
1 parent 66fb0ba commit 35478d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Backend/view/adminhtml/web/js/translate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ define([
3535
* @return {String}
3636
*/
3737
this.translate = function (text) {
38-
return (typeof _data[text] === 'string') ? _data[text]: text;
38+
return typeof _data[text] === 'string' ? _data[text] : text;
3939
};
4040

4141
return this;

0 commit comments

Comments
 (0)