mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
fix(editor): Fix push connection on WorkerList and CommunityNodes pages (no-changelog) (#7851)
This commit is contained in:
parent
e87e928144
commit
4a89504d54
|
@ -67,7 +67,7 @@ export default defineComponent({
|
|||
if (window.Cypress !== undefined) {
|
||||
return;
|
||||
}
|
||||
this.pushConnect();
|
||||
this.pushStore.pushConnect();
|
||||
this.orchestrationManagerStore.startWorkerStatusPolling();
|
||||
},
|
||||
beforeUnmount() {
|
||||
|
@ -75,7 +75,7 @@ export default defineComponent({
|
|||
return;
|
||||
}
|
||||
this.orchestrationManagerStore.stopWorkerStatusPolling();
|
||||
this.pushDisconnect();
|
||||
this.pushStore.pushDisconnect();
|
||||
},
|
||||
computed: {
|
||||
...mapStores(useUIStore, useOrchestrationStore),
|
||||
|
|
|
@ -91,7 +91,7 @@ export default defineComponent({
|
|||
},
|
||||
async mounted() {
|
||||
// The push connection is needed here to receive `reloadNodeType` and `removeNodeType` events when community nodes are installed, updated, or removed.
|
||||
this.pushConnect();
|
||||
this.pushStore.pushConnect();
|
||||
|
||||
try {
|
||||
this.loading = true;
|
||||
|
@ -137,7 +137,7 @@ export default defineComponent({
|
|||
}
|
||||
},
|
||||
beforeUnmount() {
|
||||
this.pushDisconnect();
|
||||
this.pushStore.pushDisconnect();
|
||||
},
|
||||
computed: {
|
||||
...mapStores(useCommunityNodesStore, useSettingsStore, useUIStore),
|
||||
|
|
Loading…
Reference in a new issue