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(alert-rules): Use the data default value for time selectors in SelectControl #28815

Closed
wants to merge 1 commit into from

Conversation

taylangocmen
Copy link
Contributor

@taylangocmen taylangocmen commented Sep 24, 2021

We've changed the selector value assignment in #28804

This restores back using the data[name] in time selectors, since the have values such as: '1m', '1y', '30d', '2w' they get parsed to int and name-value pairs are not usable in time/period/interval selectors.

Before (prod):

Screen.Recording.2021-09-23.at.7.10.09.PM.mov

After:

Screen.Recording.2021-09-23.at.7.11.34.PM.mov

@taylangocmen taylangocmen requested review from a team and leeandher September 24, 2021 02:12
@taylangocmen
Copy link
Contributor Author

Looks like @leeandher reverted the changes in #28828 this isn't necessary anymore

@github-actions github-actions bot locked and limited conversation to collaborators Oct 10, 2021
@mgaeta mgaeta deleted the fix/time-selector-restore branch March 18, 2022 20:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants