mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-17 09:35:37 -05:00
change userName to match what the azure account display name is (#11484)
* change userName to match what the azure account display name is * Handle undefined value
This commit is contained in:
@@ -197,6 +197,10 @@ export class SelectBox extends vsSelectBox {
|
||||
return this._selectedOption;
|
||||
}
|
||||
|
||||
public get label(): string | undefined {
|
||||
return this._dialogOptions.find(s => s.value === this._selectedOption).text;
|
||||
}
|
||||
|
||||
public get values(): string[] {
|
||||
return this._dialogOptions.map(s => s.value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user