mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-13 17:22:15 -05:00
fix dashboard opening server vs database view (#24546)
This commit is contained in:
@@ -480,6 +480,10 @@ export class ConnectionManagementService extends Disposable implements IConnecti
|
||||
profile.userName = accounts?.find(a => a.key.accountId === profile.azureAccount)?.displayInfo.displayName
|
||||
?? profile.userName;
|
||||
}
|
||||
// This is used to specify whether a connection is server level or database level
|
||||
if (profile.databaseName !== 'master' || !profile.databaseName) {
|
||||
profile.options.originalDatabase = profile.databaseName
|
||||
}
|
||||
}
|
||||
return profile;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user