mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
updates broken link to time range docs (#25008)
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
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>
|
||||
|
||||
Reference in New Issue
Block a user