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

Update of Date Updater #13

Closed
Kaputmaher opened this issue Sep 11, 2019 · 1 comment
Closed

Update of Date Updater #13

Kaputmaher opened this issue Sep 11, 2019 · 1 comment

Comments

@Kaputmaher
Copy link

Is it possible to update parameter only one time when user open dashboard? Because when we use a filter action with go to another tab and then go back then parameter set his default preset again.

@KeshiaRose
Copy link
Contributor

Hi @Kaputmaher,

This is happening because when you switch back to the first tab the extension gets reloaded. Unfortunately, there's no way to stop it from resetting the value. You may be able to create your own custom version that only updates once by creating a boolean parameter that is set to true by default. Then when you set the date with the extension it checks if that parameter is set to true, if so it updates the date and flips the parameter to false. Then if it gets reloaded again, after switching tabs, it will check the now false boolean and won't update/override the date. Hope this helps!

Take care,
Keshia

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

No branches or pull requests

2 participants