mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Fix Release Notes link to refer to correct location (#1665)
* Fix Release Notes link to refer to correct location * Fix typo
This commit is contained in:
@@ -29,14 +29,14 @@ export class OpenGettingStartedInBrowserAction extends Action {
|
||||
}
|
||||
|
||||
run(): TPromise<any> {
|
||||
const uri = URI.parse(product.releaseNotesUrl);
|
||||
const uri = URI.parse(product.gettingStartedUrl);
|
||||
return this.openerService.open(uri);
|
||||
}
|
||||
}
|
||||
|
||||
export class ShowCurrentReleaseNotesAction extends AbstractShowReleaseNotesAction {
|
||||
|
||||
static ID = 'update.showCurrentCarbonReleaseNotes';
|
||||
static ID = 'update.showGettingStarted';
|
||||
static LABEL = nls.localize('showReleaseNotes', "Show Getting Started");
|
||||
|
||||
constructor(
|
||||
|
||||
@@ -999,8 +999,8 @@ export class CodeMenu {
|
||||
arrays.coalesce([
|
||||
// new MenuItem({ label: mnemonicLabel(nls.localize({ key: 'miWelcome', comment: ['&& denotes a mnemonic'] }, "&&Welcome")), click: () => this.windowsService.sendToFocused('vscode:runAction', 'workbench.action.showWelcomePage') }),
|
||||
// {{SQL CARBON EDIT}}
|
||||
product.releaseNotesUrl ?
|
||||
this.createMenuItem(nls.localize({ key: 'miReleaseNotes', comment: ['&& denotes a mnemonic'] }, "Getting &&Started"), 'update.showCurrentCarbonReleaseNotes')
|
||||
product.gettingStartedUrl ?
|
||||
this.createMenuItem(nls.localize({ key: 'miGettingStarted', comment: ['&& denotes a mnemonic'] }, "Getting &&Started"), 'update.showGettingStarted')
|
||||
: null,
|
||||
product.documentationUrl ?
|
||||
this.createMenuItem(nls.localize({ key: 'miDocumentation', comment: ['&& denotes a mnemonic'] }, "&&Documentation"), 'workbench.action.openDocumentationUrl')
|
||||
|
||||
@@ -52,6 +52,7 @@ export interface IProductConfiguration {
|
||||
};
|
||||
documentationUrl: string;
|
||||
releaseNotesUrl: string;
|
||||
gettingStartedUrl: string;
|
||||
keyboardShortcutsUrlMac: string;
|
||||
keyboardShortcutsUrlLinux: string;
|
||||
keyboardShortcutsUrlWin: string;
|
||||
|
||||
Reference in New Issue
Block a user