Actions
Bug #33514
closedToast type in errorToast is incorrect
Difficulty:
trivial
Triaged:
No
Pull request:
Description
When using API middleware's errorToast option, the action dispatched has a type 'error' which is incorrect. This results in a console warning:
Toast notification type 'error' is invalid. Please use one of the following types: success,danger,warning,info,default
It transforms the error to the 'danger' type, but still displays the warning. It should be 'danger' from the beginning to avoid the console warning.
Updated by The Foreman Bot over 3 years ago
- Status changed from New to Ready For Testing
- Assignee set to Jeremy Lenz
- Pull request https://github.com/theforeman/foreman/pull/8783 added
Updated by Jeremy Lenz over 3 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|335623c3700e0ea28bccf01517c8274ae1744ceb.
Actions