TimePicker: some fixes and polish after testing feedback (#24585)

* make sure we render the delaynow value from dashboard to the time picker settings.

* Added the time zone in the tooltip.
This commit is contained in:
Marcus Andersson
2020-05-13 07:26:03 +02:00
committed by GitHub
parent 2d19c046f2
commit cab066f8ce
3 changed files with 31 additions and 9 deletions

View File

@@ -133,6 +133,7 @@ export class TimePickerSettings extends PureComponent<Props, State> {
invalid={!this.state.isNowDelayValid}
placeholder="0m"
onChange={this.onNowDelayChange}
defaultValue={dashboard.timepicker.nowDelay}
/>
</Tooltip>
</div>