handle unsupported connections in OE/Recent connections view (#20588)

* handle unknown provider in OE

* more update

* add comment

* test
This commit is contained in:
Alan Ren
2022-09-12 11:48:08 -07:00
committed by GitHub
parent b5408495b9
commit 6015c8e2f4
8 changed files with 67 additions and 46 deletions

View File

@@ -107,6 +107,11 @@ export class OEManageConnectionAction extends Action {
return true;
}
if (!this._capabilitiesService.getCapabilities(connectionProfile.providerName)) {
this._connectionManagementService.handleUnsupportedProvider(connectionProfile.providerName);
return true;
}
let options: IConnectionCompletionOptions = {
params: undefined,
saveTheConnection: false,