mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Public Dashboards: add information about how time settings works (#52152)
This commit is contained in:
parent
0d4c503d3d
commit
05dd0d7f57
@ -2,7 +2,18 @@ import React, { useCallback, useEffect, useState } from 'react';
|
||||
|
||||
import { AppEvents } from '@grafana/data';
|
||||
import { reportInteraction } from '@grafana/runtime/src';
|
||||
import { Alert, Button, Checkbox, ClipboardButton, Field, FieldSet, Input, LinkButton, Switch } from '@grafana/ui';
|
||||
import {
|
||||
Alert,
|
||||
Button,
|
||||
Checkbox,
|
||||
ClipboardButton,
|
||||
Field,
|
||||
FieldSet,
|
||||
Input,
|
||||
Label,
|
||||
LinkButton,
|
||||
Switch,
|
||||
} from '@grafana/ui';
|
||||
import { notifyApp } from 'app/core/actions';
|
||||
import { createErrorNotification } from 'app/core/copy/appNotification';
|
||||
import { appEvents } from 'app/core/core';
|
||||
@ -160,8 +171,9 @@ export const SharePublicDashboard = (props: Props) => {
|
||||
<div>
|
||||
<h4 className="share-modal-info-text">Public Dashboard Configuration</h4>
|
||||
<FieldSet>
|
||||
Time Range
|
||||
<br />
|
||||
<Label description="The public dashboard uses the default time settings of the dashboard">
|
||||
Time Range
|
||||
</Label>
|
||||
<div style={{ padding: '5px' }}>
|
||||
<Input
|
||||
value={props.dashboard.getDefaultTime().from}
|
||||
|
Loading…
Reference in New Issue
Block a user