Skip to content

Commit 831fe2f

Browse files
committed
Message component fix: the message type is always error when parameters specified
1 parent 8858fea commit 831fe2f

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Ui/view/frontend/web/js/model

1 file changed

+1
-1
lines changed

app/code/Magento/Ui/view/frontend/web/js/model/messages.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ define([
5252
return messageObj.parameters.shift();
5353
});
5454
this.clear();
55-
this.errorMessages.push(message);
55+
type.push(message);
5656

5757
return true;
5858
},

0 commit comments

Comments
 (0)