Added support for demo mode.
@@ -35,6 +35,9 @@ export default class {
}
$onInit() {
+ if (this.isDemo)
+ return;
+
this.inProgress$ = this._inProgressSubject.asObservable();
this.clusters$ = this.agentMgr.connectionSbj
@@ -49,6 +52,7 @@ export default class {
}
$onDestroy() {
+ if (!this.isDemo)
this.clusters$.unsubscribe();
}
