diff --git a/src/renderer/components/WorkspaceAddConnectionPanel.vue b/src/renderer/components/WorkspaceAddConnectionPanel.vue index e106dc5b..50b38e8c 100644 --- a/src/renderer/components/WorkspaceAddConnectionPanel.vue +++ b/src/renderer/components/WorkspaceAddConnectionPanel.vue @@ -393,6 +393,13 @@ export default { return this.isConnecting || this.isTesting; } }, + watch: { + 'connection.client' () { + this.connection.user = this.customizations.defaultUser; + this.connection.port = this.customizations.defaultPort; + this.connection.database = this.customizations.defaultDatabase; + } + }, created () { this.setDefaults();