Description
When hitting "RESET" in the custom date range dialog of a dashboard "by" is set to "1ms".
To Reproduce
Steps to reproduce the behavior:
Dashboard is set to "Last 1d" by "15m" (or any custom range)
Click on 'Last 1d'
Click on "Custom..."
Click on "RESET"
Setting is now "Last 1d" by "1ms"
Expected behavior
Reset the values to reasonable defaults instead of setting "by" to "1ms". (I'm not sure how the defaults for the date range and "by" are calculated but usually my dashboards default to "1d" by "15m" and "by" is set to an interval that makes sense for the currently selected date range).
Description When hitting "RESET" in the custom date range dialog of a dashboard "by" is set to "1ms".
To Reproduce Steps to reproduce the behavior:
Expected behavior Reset the values to reasonable defaults instead of setting "by" to "1ms". (I'm not sure how the defaults for the date range and "by" are calculated but usually my dashboards default to "1d" by "15m" and "by" is set to an interval that makes sense for the currently selected date range).
Environment