mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-10 10:12:34 -05:00
* 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:
@@ -67,19 +67,14 @@ export abstract class BasePage {
|
||||
}
|
||||
}
|
||||
|
||||
let db = c.options.databaseDisplayName;
|
||||
let usr = c.options.user;
|
||||
let srv = c.options.server;
|
||||
|
||||
if (!db) {
|
||||
db = localize('basePage.defaultDb', '<default>');
|
||||
}
|
||||
|
||||
if (!usr) {
|
||||
usr = localize('basePage.defaultUser', 'default');
|
||||
}
|
||||
|
||||
let finalName = `${srv}, ${db} (${usr})`;
|
||||
let finalName = `${srv} (${usr})`;
|
||||
return {
|
||||
connection: c,
|
||||
displayName: finalName,
|
||||
|
||||
Reference in New Issue
Block a user