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

Store active filters state when reopen filters #4

Open
shady356 opened this issue May 13, 2020 · 0 comments
Open

Store active filters state when reopen filters #4

shady356 opened this issue May 13, 2020 · 0 comments
Labels
Enhancement New feature or improvement to existing feature

Comments

@shady356
Copy link
Owner

Save filters when reopen the filters modal.

Example: If Kanto and Johto was set as filters, store these values so they are still active when you reopen the filter modal. It should also save the combination of the different categories available. Example of code structure:

activeFilters: {
  generations: ['kanto', 'johto'],
  types: ['fire']
}

Could possibly be saved in a vuex state

image

@shady356 shady356 added the Enhancement New feature or improvement to existing feature label May 13, 2020
@shady356 shady356 changed the title Save filters state when reopen filters Store active filters state when reopen filters May 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or improvement to existing feature
Projects
None yet
Development

No branches or pull requests

1 participant