feat(web-ui): pause dashboard polling, sockets, and chart updates when the tab is hidden
This commit is contained in:
@@ -25,7 +25,7 @@ export class OpsViewCertificates extends DeesElement {
|
||||
|
||||
constructor() {
|
||||
super();
|
||||
const sub = appstate.certificateStatePart.state.subscribe((newState) => {
|
||||
const sub = appstate.certificateStatePart.select().subscribe((newState) => {
|
||||
this.certState = newState;
|
||||
});
|
||||
this.rxSubscriptions.push(sub);
|
||||
|
||||
Reference in New Issue
Block a user