f3oall / awesome-notifications

Lightweight JavaScript Notifications Library
https://f3oall.github.io/awesome-notifications/
MIT License
292 stars 40 forks source link

Error Icon Not Showing #10

Closed redeemefy closed 5 years ago

redeemefy commented 5 years ago

"awesome-notification": "^2.2.9" "vue": "2.5.16"

I have a vue application and all notification are showing their respective icons but the error notification. I'm not sure what other information you need from me to start debugging the issue.

ddolzan commented 5 years ago

Error notification checks for the icon 'fa-warning' which does not exist (not anymore at least). I fixed passing the option:

var options = {
  icons: {
    alert: "exclamation-triangle"
  }
}