mirror of
https://github.com/grafana/grafana.git
synced 2025-01-18 12:33:37 -06:00
Grafana-UI: Pass timeZone to TimePickerButtonLabel (#26454)
This commit is contained in:
parent
43033ddf74
commit
9c3f47aa23
@ -70,7 +70,7 @@ export const TimeRangeInput: FC<Props> = ({
|
||||
<div className={styles.container}>
|
||||
<div tabIndex={0} className={styles.pickerInput} aria-label="TimePicker Open Button" onClick={onOpen}>
|
||||
{isValidTimeRange(value) ? (
|
||||
<TimePickerButtonLabel value={value as TimeRange} />
|
||||
<TimePickerButtonLabel value={value as TimeRange} timeZone={timeZone} />
|
||||
) : (
|
||||
<span className={styles.placeholder}>{placeholder}</span>
|
||||
)}
|
||||
|
Loading…
Reference in New Issue
Block a user