mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-06 17:23:53 -05:00
Fix context menu for disconnected server nodes (#12018)
* Fix context menu for disconnected server nodes * Fix strict compile
This commit is contained in:
@@ -1372,7 +1372,7 @@ export class ConnectionManagementService extends Disposable implements IConnecti
|
||||
return credentials;
|
||||
}
|
||||
|
||||
public getServerInfo(profileId: string): azdata.ServerInfo {
|
||||
public getServerInfo(profileId: string): azdata.ServerInfo | undefined {
|
||||
let profile = this._connectionStatusManager.findConnectionByProfileId(profileId);
|
||||
if (!profile) {
|
||||
return undefined;
|
||||
|
||||
Reference in New Issue
Block a user