From 4a89504d54abae54182a78156c5eea29913ec4ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E0=A4=95=E0=A4=BE=E0=A4=B0=E0=A4=A4=E0=A5=8B=E0=A4=AB?= =?UTF-8?q?=E0=A5=8D=E0=A4=AB=E0=A5=87=E0=A4=B2=E0=A4=B8=E0=A5=8D=E0=A4=95?= =?UTF-8?q?=E0=A5=8D=E0=A4=B0=E0=A4=BF=E0=A4=AA=E0=A5=8D=E0=A4=9F=E2=84=A2?= Date: Tue, 28 Nov 2023 16:45:50 +0100 Subject: [PATCH] fix(editor): Fix push connection on WorkerList and CommunityNodes pages (no-changelog) (#7851) --- packages/editor-ui/src/components/WorkerList.ee.vue | 4 ++-- packages/editor-ui/src/views/SettingsCommunityNodesView.vue | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/editor-ui/src/components/WorkerList.ee.vue b/packages/editor-ui/src/components/WorkerList.ee.vue index a14e1fe9a..0122e8629 100644 --- a/packages/editor-ui/src/components/WorkerList.ee.vue +++ b/packages/editor-ui/src/components/WorkerList.ee.vue @@ -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), diff --git a/packages/editor-ui/src/views/SettingsCommunityNodesView.vue b/packages/editor-ui/src/views/SettingsCommunityNodesView.vue index a3cf360bf..aeba8fda8 100644 --- a/packages/editor-ui/src/views/SettingsCommunityNodesView.vue +++ b/packages/editor-ui/src/views/SettingsCommunityNodesView.vue @@ -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),