mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Live: cleanup and simple changes (#28028)
This commit is contained in:
@@ -62,7 +62,7 @@ export class LivePanel extends PureComponent<Props, State> {
|
||||
|
||||
startSubscription = () => {
|
||||
const { scope, namespace, path } = this.props;
|
||||
const channel = getGrafanaLiveSrv().getChannel(scope, namespace, path);
|
||||
const channel = getGrafanaLiveSrv().getChannel({ scope, namespace, path });
|
||||
if (this.state.channel === channel) {
|
||||
return; // no change!
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user