Commit 9c3f47aa by Alex Khomenko Committed by GitHub

Grafana-UI: Pass timeZone to TimePickerButtonLabel (#26454)

parent 43033ddf
......@@ -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>
)}
......
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