Live: cleanup and simple changes (#28028)

This commit is contained in:
Ryan McKinley
2020-10-04 23:53:52 -07:00
committed by GitHub
parent 0ffd9a9a3c
commit 726bb4477b
12 changed files with 98 additions and 61 deletions

View File

@@ -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!
}