Skip to content

Commit 92b9b70

Browse files
committed
MC-23211: DropDown attribute with label 'select' break product edit page
1 parent e30e6d9 commit 92b9b70

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)