mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fixing Prometheus selector
Signed-off-by: alexfront <alex.andreev.email@gmail.com>
This commit is contained in:
parent
a69264e2cd
commit
80cd464021
@ -26,8 +26,10 @@ export class ClusterPrometheusSetting extends React.Component<Props> {
|
||||
for possible configuration changes.
|
||||
</p>
|
||||
<Select
|
||||
value={this.props.cluster.preferences.prometheusProvider?.type}
|
||||
onChange={({type}) => this.props.cluster.preferences.prometheusProvider = { type }}
|
||||
value={this.props.cluster.preferences.prometheusProvider?.type || ""}
|
||||
onChange={({value}) => {
|
||||
this.props.cluster.preferences.prometheusProvider.type = value
|
||||
}}
|
||||
options={options}
|
||||
/>
|
||||
</>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user