Graphite: Make Graphite config page more accessible (#43333)

This commit is contained in:
Piotr Jamróz 2022-01-03 10:17:15 +01:00 committed by GitHub
parent 1e7a730f1f
commit 7682eabd29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,6 +80,7 @@ export class ConfigEditor extends PureComponent<Props, State> {
Version
</InlineFormLabel>
<Select
aria-label="Graphite version"
menuShouldPortal
value={currentVersion}
options={graphiteVersions}
@ -92,6 +93,7 @@ export class ConfigEditor extends PureComponent<Props, State> {
<div className="gf-form">
<InlineFormLabel tooltip={this.renderTypeHelp}>Type</InlineFormLabel>
<Select
aria-label="Graphite backend type"
menuShouldPortal
options={graphiteTypes}
value={graphiteTypes.find((type) => type.value === options.jsonData.graphiteType)}