Skip to content

Commit 9a46340

Browse files
ENGCOM-2834: Message list component fix: the message type is always error when parameters specified #17701
- Merge Pull Request #17701 from dmytro-ch/magento2:fix/2.2-message-type-is-always-error - Merged commits: 1. d438e9b
2 parents 764b00c + d438e9b commit 9a46340

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
@@ -55,7 +55,7 @@ define([
5555
return messageObj.parameters.shift();
5656
});
5757
this.clear();
58-
this.errorMessages.push(message);
58+
type.push(message);
5959

6060
return true;
6161
},

0 commit comments

Comments
 (0)