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: idxById could be undefined when changing page in SPA #782

Merged
merged 1 commit into from
May 23, 2023

Conversation

ghiscoding
Copy link
Collaborator

  • in some rare occasion in a SPA (single page app), changing page could change idxById to be undefined because it could get undefined in destroy function, this PR will avoid errors showing up in console

- in some rare occasion in a SPA (single page app), changing page could change `idxById` to be undefined because it could get undefined in `destroy` function, this PR will avoid errors showing up in console
@6pac
Copy link
Owner

6pac commented May 23, 2023

happy to merge this

@ghiscoding ghiscoding merged commit 222725f into master May 23, 2023
@ghiscoding ghiscoding deleted the bugfix/dataview-idxbyid-undefined branch May 23, 2023 13:26
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