Topic: modal-notify not rendered properly when used as a service (no colors)

alain.deurveilher@gmail.com pro asked 6 years ago


Hello, I created a component which is composed of a modal-notify modal. In that component I subscribe to an observable of a notification service in order to display or not the modal. (So the display trigger is not a click event in the template itself, but a new value in the stream) But used like so, the modal is not properly rendered. In the demo attached, I used the modal-notify modal-danger. => The expected red colors of the header and buttons are not rendered animated screenshot (gif): https://drive.google.com/file/d/16otpstMbtHMCbqpRfIi-9X72GnQAsWMf/view?usp=sharing   demo app: https://drive.google.com/file/d/17COYlljeJy1uerApa_i_fBZeMlY0bMB8/view?usp=sharing   Thank you.

alain.deurveilher@gmail.com pro commented 6 years ago

So much trouble for nothing: I realized my own mistake while reviewing what I just posted! I had a typo in my modal. I wrote "modal-dander" instead of "modal-danger" !! -_- Sorry for the inconvenience. I close this ticket then!

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Closed

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: Yes
Tags