TimeZonePicker: added possibility to toggle if internal time zones should be included or not. (#25934)

* made some small adjustments after feedback.

* made the flag optional.
This commit is contained in:
Marcus Andersson
2020-06-30 13:30:18 +02:00
committed by GitHub
parent a47fac72bf
commit 8e36a15968
5 changed files with 21 additions and 11 deletions

View File

@@ -157,7 +157,7 @@ export class SharedPreferences extends PureComponent<Props, State> {
</Field>
<Field label="Timezone" aria-label={selectors.components.TimeZonePicker.container}>
<TimeZonePicker value={timezone} onChange={this.onTimeZoneChanged} />
<TimeZonePicker includeInternal={true} value={timezone} onChange={this.onTimeZoneChanged} />
</Field>
<div className="gf-form-button-row">
<Button variant="primary">Save</Button>