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 { GrafanaTheme, isDateTime, TimeOption, TimeRange, TimeZone } from '@grafana/data';
import { useMedia } from 'react-use';
import { css } from 'emotion'; import { css } from 'emotion';
import { useTheme, stylesFactory } from '../../../themes'; import React, { memo, useState } from 'react';
import { GrafanaTheme, TimeOption, TimeRange, TimeZone, isDateTime } from '@grafana/data'; import { useMedia } from 'react-use';
import { stylesFactory, useTheme } from '../../../themes';
import { CustomScrollbar } from '../../CustomScrollbar/CustomScrollbar';
import { Icon } from '../../Icon/Icon'; import { Icon } from '../../Icon/Icon';
import { getThemeColors } from './colors';
import { mapRangeToTimeOption } from './mapper';
import { TimePickerTitle } from './TimePickerTitle'; import { TimePickerTitle } from './TimePickerTitle';
import { TimeRangeForm } from './TimeRangeForm'; import { TimeRangeForm } from './TimeRangeForm';
import { CustomScrollbar } from '../../CustomScrollbar/CustomScrollbar';
import { TimeRangeList } from './TimeRangeList'; import { TimeRangeList } from './TimeRangeList';
import { mapRangeToTimeOption } from './mapper';
import { getThemeColors } from './colors';
const getStyles = stylesFactory((theme: GrafanaTheme) => { const getStyles = stylesFactory((theme: GrafanaTheme) => {
const colors = getThemeColors(theme); const colors = getThemeColors(theme);
...@@ -263,7 +263,11 @@ const EmptyRecentList = memo(() => { ...@@ -263,7 +263,11 @@ const EmptyRecentList = memo(() => {
</span> </span>
</div> </div>
<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 Read the documentation
</a> </a>
<span> to find out more about how to enter custom time ranges.</span> <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