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

Check if flatpickr instance is available before destroying it to ensu… #322

Merged

Conversation

andrew-mykhalchuk
Copy link
Contributor

@andrew-mykhalchuk andrew-mykhalchuk commented Jul 24, 2024

…re we don't run destroy on uninitialized elements

This fixes the error that occurs on navigation from a page that has a flatpickr like an admin orders page.

image

…re we don't run destroy on uninitialized elements
Copy link
Member

@damianlegawiec damianlegawiec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@damianlegawiec damianlegawiec merged commit 0cc0c0e into spree:main Jul 24, 2024
3 of 5 checks passed
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.

2 participants