Fix #5809: Data-tier wizard "Source Server" shouldn't show database name (#6125)

* Removing database name from server connection and adding required asterisk to database dropdowns

* also remove database name in flat file import wizard
This commit is contained in:
Kim Santiago
2019-06-24 11:44:26 -07:00
committed by GitHub
parent 4fe81d8449
commit cf85bb14f5
4 changed files with 13 additions and 20 deletions

View File

@@ -64,19 +64,14 @@ export abstract class BasePage {
}
}
let db = c.options.databaseDisplayName;
let usr = c.options.user;
let srv = c.options.server;
if (!db) {
db = '<default>';
}
if (!usr) {
usr = 'default';
}
let finalName = `${srv}, ${db} (${usr})`;
let finalName = `${srv} (${usr})`;
return {
connection: c,
displayName: finalName,