Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: only show loading icon when the toast is loading #22

Merged
merged 1 commit into from
Jun 13, 2024

Conversation

tutkli
Copy link
Owner

@tutkli tutkli commented Jun 13, 2024

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?

The loading icon showed when the toast was of type 'promise' not taking into account if the toast was loading or not.

Closes #21

What is the new behavior?

The loading icon only shows when the toast is loading.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@tutkli tutkli changed the title fix: show correct icons when promise toast updates fix: only show loading icon when the toast is loading Jun 13, 2024
@tutkli tutkli merged commit ac0d1b8 into master Jun 13, 2024
2 checks passed
@tutkli tutkli deleted the fix/toast-icons branch June 13, 2024 16:18
tutkli pushed a commit that referenced this pull request Jun 13, 2024
## [2.0.1](v2.0.0...v2.0.1) (2024-06-13)

### Bug Fixes

* show correct icons when promise toast updates ([#22](#22)) ([ac0d1b8](ac0d1b8))
@tutkli
Copy link
Owner Author

tutkli commented Jun 13, 2024

🎉 This PR is included in version 2.0.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Custom loading icon does not hide when updating toast type
1 participant