From a7b229f98a93b27a699c2e1792f5b1a8d313c70b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Ovejero?= Date: Fri, 5 Aug 2022 15:28:21 +0200 Subject: [PATCH] refactor(editor-ui): Remove webhook deletion success toasts (#3839) --- packages/editor-ui/src/components/NodeExecuteButton.vue | 5 ----- packages/editor-ui/src/plugins/i18n/locales/en.json | 2 -- packages/editor-ui/src/views/NodeView.vue | 5 ----- 3 files changed, 12 deletions(-) diff --git a/packages/editor-ui/src/components/NodeExecuteButton.vue b/packages/editor-ui/src/components/NodeExecuteButton.vue index 60666cbd69..f3a0ccdb06 100644 --- a/packages/editor-ui/src/components/NodeExecuteButton.vue +++ b/packages/editor-ui/src/components/NodeExecuteButton.vue @@ -156,11 +156,6 @@ export default mixins( ); return; } - - this.$showMessage({ - title: this.$locale.baseText('ndv.execute.stopWaitingForWebhook.success'), - type: 'success', - }); }, async onClick() { diff --git a/packages/editor-ui/src/plugins/i18n/locales/en.json b/packages/editor-ui/src/plugins/i18n/locales/en.json index c56c7baccb..077580b48c 100644 --- a/packages/editor-ui/src/plugins/i18n/locales/en.json +++ b/packages/editor-ui/src/plugins/i18n/locales/en.json @@ -341,7 +341,6 @@ "ndv.execute.nodeIsDisabled": "Enable node to execute", "ndv.execute.requiredFieldsMissing": "Complete required fields first", "ndv.execute.stopWaitingForWebhook.error": "Problem deleting test webhook", - "ndv.execute.stopWaitingForWebhook.success": "Deleted test webhook", "ndv.execute.workflowAlreadyRunning": "Workflow is already running", "ndv.featureRequest": "I wish this node would...", "ndv.input": "Input", @@ -551,7 +550,6 @@ "nodeView.showMessage.stopExecutionCatch.message": "It completed before it could be stopped", "nodeView.showMessage.stopExecutionCatch.title": "Workflow finished executing", "nodeView.showMessage.stopExecutionTry.title": "Execution stopped", - "nodeView.showMessage.stopWaitingForWebhook.title": "Webhook deleted", "nodeView.stopCurrentExecution": "Stop current execution", "nodeView.stopWaitingForWebhookCall": "Stop waiting for webhook call", "nodeView.stoppingCurrentExecution": "Stopping current execution", diff --git a/packages/editor-ui/src/views/NodeView.vue b/packages/editor-ui/src/views/NodeView.vue index 2de022077f..64d61944e8 100644 --- a/packages/editor-ui/src/views/NodeView.vue +++ b/packages/editor-ui/src/views/NodeView.vue @@ -1242,11 +1242,6 @@ export default mixins( ); return; } - - this.$showMessage({ - title: this.$locale.baseText('nodeView.showMessage.stopWaitingForWebhook.title'), - type: 'success', - }); }, /**