Skip to content

fix: vanishing of custom icons#46

Open
marcjulian wants to merge 5 commits into
tutkli:masterfrom
marcjulian:fix/custom-icon-vanishing
Open

fix: vanishing of custom icons#46
marcjulian wants to merge 5 commits into
tutkli:masterfrom
marcjulian:fix/custom-icon-vanishing

Conversation

@marcjulian

Copy link
Copy Markdown
Contributor

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

Closes #45

Seems like that the custom icon DOM element can only exist one time and it doesn't work in the for loop.

What is the new behavior?

Replaces the ng-content in the toaster component with using template.

Does this PR introduce a breaking change?

  • Yes
  • No

Template for custom icons changed.

Other information

@marcjulian

Copy link
Copy Markdown
Contributor Author

@tutkli if you have time to review this fix should be ready.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Custom icons

1 participant