mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Fixed an issue with setting the default location in package management (#10263)
This commit is contained in:
@@ -133,7 +133,7 @@ export class ManagePackagesDialogModel {
|
||||
* Returns the default location
|
||||
*/
|
||||
public get defaultLocation(): string | undefined {
|
||||
return this.options.defaultLocation || this.targetLocationTypes.length > 0 ? this.targetLocationTypes[0] : undefined;
|
||||
return this.options.defaultLocation || (this.targetLocationTypes.length > 0 ? this.targetLocationTypes[0] : undefined);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user