Monitor dashboard date time picker shows incorrect custom range on load
Summary
The date time picker in monitor dashboard under Show last
shows custom time range values even though it has not been entered by the user.
Steps to reproduce
- Navigate to Operations > Metrics on a project with k8s integrated.
- Click the
Show last
dropdown - Notice that
8 hours ago
is correctly selected in quick range. - Also, notice that the custom time range is also filled in - which is incorrect.
Example Project
https://gitlab.com/gitlab-org/monitor/monitor-sandbox/environments/711946/metrics
What is the expected correct behavior?
The custom time range should only be filled when the user inputs.