Skip to content

Commit

Permalink
Update learn more link
Browse files Browse the repository at this point in the history
  • Loading branch information
MicroFish91 committed Feb 5, 2025
1 parent c25f565 commit da1ed41
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,18 @@ export class SiteDomainNameLabelScopeStep<T extends IAppServiceWizardContext> ex
{ label: vscode.l10n.t('Global default hostname'), description: vscode.l10n.t('Global'), data: DomainNameLabelScope.Global },
{ label: vscode.l10n.t('$(link-external) Learn more about unique default hostname'), data: undefined },
];
const learnMoreUrl: string = 'https://aka.ms/AAu7lhs';

let result: DomainNameLabelScope | undefined;
do {
result = (await context.ui.showQuickPick(picks, {
placeHolder: vscode.l10n.t('Select default hostname format'),
suppressPersistence: true,
learnMoreLink: learnMoreUrl,
})).data;

if (!result) {
await openUrl('https://aka.ms/AAu7lhs');
await openUrl(learnMoreUrl);
}
} while (!result);

Expand Down

0 comments on commit da1ed41

Please sign in to comment.