mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 11:01:37 -05:00
@@ -189,6 +189,9 @@ export class ResourceTypePickerDialog extends DialogBase {
|
|||||||
const toolRequirements = this.getCurrentProvider().requiredTools;
|
const toolRequirements = this.getCurrentProvider().requiredTools;
|
||||||
const headerRowHeight = 28;
|
const headerRowHeight = 28;
|
||||||
this._toolsTable.height = 25 * Math.max(toolRequirements.length, 1) + headerRowHeight;
|
this._toolsTable.height = 25 * Math.max(toolRequirements.length, 1) + headerRowHeight;
|
||||||
|
this._dialogObject.message = {
|
||||||
|
text: ''
|
||||||
|
};
|
||||||
if (toolRequirements.length === 0) {
|
if (toolRequirements.length === 0) {
|
||||||
this._dialogObject.okButton.enabled = true;
|
this._dialogObject.okButton.enabled = true;
|
||||||
this._toolsTable.data = [[localize('deploymentDialog.NoRequiredTool', "No tools required"), '']];
|
this._toolsTable.data = [[localize('deploymentDialog.NoRequiredTool', "No tools required"), '']];
|
||||||
@@ -198,9 +201,6 @@ export class ResourceTypePickerDialog extends DialogBase {
|
|||||||
});
|
});
|
||||||
this._toolsLoadingComponent.loading = true;
|
this._toolsLoadingComponent.loading = true;
|
||||||
this._dialogObject.okButton.enabled = false;
|
this._dialogObject.okButton.enabled = false;
|
||||||
this._dialogObject.message = {
|
|
||||||
text: ''
|
|
||||||
};
|
|
||||||
|
|
||||||
Promise.all(tools.map(tool => tool.loadInformation())).then(() => {
|
Promise.all(tools.map(tool => tool.loadInformation())).then(() => {
|
||||||
// If the local timestamp does not match the class level timestamp, it means user has changed options, ignore the results
|
// If the local timestamp does not match the class level timestamp, it means user has changed options, ignore the results
|
||||||
@@ -240,7 +240,8 @@ export class ResourceTypePickerDialog extends DialogBase {
|
|||||||
}));
|
}));
|
||||||
const text = this._view.modelBuilder.text().withProperties<azdata.TextComponentProperties>({
|
const text = this._view.modelBuilder.text().withProperties<azdata.TextComponentProperties>({
|
||||||
value: agreementInfo.template,
|
value: agreementInfo.template,
|
||||||
links: agreementInfo.links
|
links: agreementInfo.links,
|
||||||
|
requiredIndicator: true
|
||||||
}).component();
|
}).component();
|
||||||
return createFlexContainer(this._view, [checkbox, text]);
|
return createFlexContainer(this._view, [checkbox, text]);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user