From 26446fb7ed04216283736072d442786350252dbb Mon Sep 17 00:00:00 2001 From: Fabio Di Stasio Date: Tue, 5 Oct 2021 18:20:38 +0200 Subject: [PATCH] fix: closing ask credential modal during a connection doesn't stops loading, closes #114 --- src/renderer/components/WorkspaceEditConnectionPanel.vue | 1 + src/renderer/i18n/index.js | 1 + src/renderer/i18n/supported-locales.js | 1 + 3 files changed, 3 insertions(+) diff --git a/src/renderer/components/WorkspaceEditConnectionPanel.vue b/src/renderer/components/WorkspaceEditConnectionPanel.vue index 6f735b22..f170a691 100644 --- a/src/renderer/components/WorkspaceEditConnectionPanel.vue +++ b/src/renderer/components/WorkspaceEditConnectionPanel.vue @@ -454,6 +454,7 @@ export default { closeAsking () { this.isTesting = false; this.isAsking = false; + this.isConnecting = false; }, selectTab (tab) { this.selectedTab = tab; diff --git a/src/renderer/i18n/index.js b/src/renderer/i18n/index.js index 775ad9df..2460dfa1 100644 --- a/src/renderer/i18n/index.js +++ b/src/renderer/i18n/index.js @@ -12,6 +12,7 @@ const i18n = new VueI18n({ 'fr-FR': require('./fr-FR'), 'pt-BR': require('./pt-BR'), 'de-DE': require('./de-DE'), + 'vi-VN': require('./vi-VN'), 'ja-JP': require('./ja-JP') } }); diff --git a/src/renderer/i18n/supported-locales.js b/src/renderer/i18n/supported-locales.js index 5ddca2d7..8d97ac1c 100644 --- a/src/renderer/i18n/supported-locales.js +++ b/src/renderer/i18n/supported-locales.js @@ -6,5 +6,6 @@ export default { 'fr-FR': 'Français', 'pt-BR': 'Português (Brasil)', 'de-DE': 'Deutsch (Deutschland)', + 'vi-VN': 'Tiếng Việt', 'ja-JP': '日本語' };