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

Interval variable: Make interval variable properly update on name change #701

Merged

Conversation

oscarkilhed
Copy link
Contributor

@oscarkilhed oscarkilhed commented Apr 17, 2024

The interval variable was not correctly changing when the name was updated. This is because the url sync config option keys property was set statically to whatever the name was when the variable object was created. This PR changes the property to a function, so the key is looked up when getKeys is called

@dprokop dprokop added release Create a release when this pr is merged patch Increment the patch version when merged labels Apr 17, 2024
@oscarkilhed oscarkilhed merged commit 8846b29 into main Apr 17, 2024
3 checks passed
@oscarkilhed oscarkilhed deleted the oscark/fix-interval-variable-not-updating-name-in-url branch April 17, 2024 18:02
@grafanabot
Copy link
Contributor

🚀 PR was released in v4.11.1 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Increment the patch version when merged release Create a release when this pr is merged released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants