Skip to content

Commit 6ffb8b1

Browse files
author
Shikha Mishra
authored
#30362: Fixed Redirect to the store view when trying to save attribute
#30362: Fixed Redirect to the store view when trying to save attribute on product creation page
1 parent 68770fc commit 6ffb8b1

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Ui/view/base/web/js/form/components

1 file changed

+1
-1
lines changed

app/code/Magento/Ui/view/base/web/js/form/components/insert.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ define([
201201
var links = {};
202202

203203
_.each(data, function (value, key) {
204-
if (value.split('.')[0] === ns) {
204+
if (typeof value === 'string' && value.split('.')[0] === ns) {
205205
links[key] = value;
206206
}
207207
});

0 commit comments

Comments
 (0)