mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Fix Account Dialog with Multiple Providers (#21836)
* fix uncaught error in showSplitView * fixed bugs around account dialog with multiple providers * cleanup * fix index out of bounds error * Fire account list update after removing provider, other pr fixes
This commit is contained in:
@@ -465,6 +465,8 @@ export class AccountManagementService implements IAccountManagementService {
|
||||
}
|
||||
|
||||
public unregisterProvider(providerMetadata: azdata.AccountProviderMetadata): void {
|
||||
const p = this._providers[providerMetadata.id];
|
||||
this.fireAccountListUpdate(p, false);
|
||||
// Delete this account provider
|
||||
delete this._providers[providerMetadata.id];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user