diff --git a/src/components/ConnectionMenu.vue b/src/components/ConnectionMenu.vue index fd442b5..45cd64b 100644 --- a/src/components/ConnectionMenu.vue +++ b/src/components/ConnectionMenu.vue @@ -85,6 +85,11 @@ export default { this.$emit('refreshConnection'); }, showEditConnection() { + // connection is cloesd, do not display confirm + if (!this.client) { + return this.$refs.editConnectionDialog.show(); + } + this.$confirm( this.$t('message.close_to_edit_connection'), { type: 'warning' },