don't update database name to master (#11216)

This commit is contained in:
Kim Santiago
2020-07-07 16:50:59 -07:00
committed by GitHub
parent 5f8180ebbf
commit f95cb5f5d3

View File

@@ -370,7 +370,7 @@ export class PublishDatabaseDialog {
}
// change the database inputbox value to the connection's database if there is one
if (this.connection.options.database) {
if (this.connection.options.database && this.connection.options.database !== constants.master) {
this.targetDatabaseTextBox!.value = this.connection.options.database;
}
});