mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
RefreshPicker: Fix issue clearing auto refresh (#57215)
This commit is contained in:
parent
3cb1ec58f0
commit
69bfd923be
@ -50,7 +50,7 @@ export class RefreshPicker extends PureComponent<Props> {
|
||||
|
||||
onChangeSelect = (item: SelectableValue<string>) => {
|
||||
const { onIntervalChanged } = this.props;
|
||||
if (onIntervalChanged && item.value) {
|
||||
if (onIntervalChanged && item.value != null) {
|
||||
onIntervalChanged(item.value);
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user