update
This commit is contained in:
@@ -65,10 +65,6 @@ export class OpsViewNetwork extends DeesElement {
|
||||
|
||||
async connectedCallback() {
|
||||
await super.connectedCallback();
|
||||
console.log('[NetworkView] Connected - setting activeView to network');
|
||||
|
||||
// Force the activeView to be 'network' when this component connects
|
||||
await appstate.uiStatePart.dispatchAction(appstate.setActiveViewAction, 'network');
|
||||
|
||||
// When network view becomes visible, ensure we fetch network data
|
||||
await appstate.networkStatePart.dispatchAction(appstate.fetchNetworkStatsAction, null);
|
||||
|
Reference in New Issue
Block a user