mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Portal links for main branch (#12319)
* first commit * json field added * message genericized * order changed * removed summary page text * fixed url
This commit is contained in:
@@ -18,6 +18,7 @@ export interface ResourceType {
|
||||
providers: DeploymentProvider[];
|
||||
agreement?: AgreementInfo;
|
||||
displayIndex?: number;
|
||||
okButtonText?: string;
|
||||
getProvider(selectedOptions: { option: string, value: string }[]): DeploymentProvider | undefined;
|
||||
}
|
||||
|
||||
|
||||
@@ -176,6 +176,14 @@ export class ResourceTypePickerDialog extends DialogBase {
|
||||
|
||||
private selectResourceType(resourceType: ResourceType): void {
|
||||
this._selectedResourceType = resourceType;
|
||||
//handle special case when resource type has different OK button.
|
||||
if (this._selectedResourceType.okButtonText) {
|
||||
this._dialogObject.okButton.label = this._selectedResourceType.okButtonText;
|
||||
}
|
||||
else {
|
||||
this._dialogObject.okButton.label = localize('deploymentDialog.OKButtonText', "Select");
|
||||
}
|
||||
|
||||
this._agreementCheckboxChecked = false;
|
||||
this._agreementContainer.clearItems();
|
||||
if (resourceType.agreement) {
|
||||
|
||||
Reference in New Issue
Block a user