Commit b5bf54f5 by Carl Bergquist Committed by GitHub

updates broken link to time range docs (#25008)

parent 4d18bda2
import React, { useState, memo } from 'react';
import { useMedia } from 'react-use';
import { GrafanaTheme, isDateTime, TimeOption, TimeRange, TimeZone } from '@grafana/data';
import { css } from 'emotion';
import { useTheme, stylesFactory } from '../../../themes';
import { GrafanaTheme, TimeOption, TimeRange, TimeZone, isDateTime } from '@grafana/data';
import React, { memo, useState } from 'react';
import { useMedia } from 'react-use';
import { stylesFactory, useTheme } from '../../../themes';
import { CustomScrollbar } from '../../CustomScrollbar/CustomScrollbar';
import { Icon } from '../../Icon/Icon';
import { getThemeColors } from './colors';
import { mapRangeToTimeOption } from './mapper';
import { TimePickerTitle } from './TimePickerTitle';
import { TimeRangeForm } from './TimeRangeForm';
import { CustomScrollbar } from '../../CustomScrollbar/CustomScrollbar';
import { TimeRangeList } from './TimeRangeList';
import { mapRangeToTimeOption } from './mapper';
import { getThemeColors } from './colors';
const getStyles = stylesFactory((theme: GrafanaTheme) => {
const colors = getThemeColors(theme);
......@@ -263,7 +263,11 @@ const EmptyRecentList = memo(() => {
</span>
</div>
<div>
<a className={styles.link} href="https://grafana.com/docs/grafana/latest/reference/timerange/" target="_new">
<a
className={styles.link}
href="https://grafana.com/docs/grafana/latest/dashboards/time-range-controls"
target="_new"
>
Read the documentation
</a>
<span> to find out more about how to enter custom time ranges.</span>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment