mirror of
https://github.com/microsoft/vscode.git
synced 2026-10-06 01:51:49 +01:00
fix: walkthrough restore and page title (#231616)
This commit is contained in:
1 parent
9d032955ff
commit
83f64ef6bb
2 files changed
+6
-1
No files matched your search
@@ -304,6 +304,11 @@ export class GettingStartedPage extends EditorPane {
|
||||
return;
|
||||
}
|
||||
|
||||
const editorPane = this.groupsService.activeGroup.activeEditorPane;
|
||||
if (!(editorPane instanceof GettingStartedPage)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Save the state of the walkthrough so we can restore it on reload
|
||||
const restoreData: RestoreWalkthroughsConfigurationValue = { folder: UNKNOWN_EMPTY_WINDOW_WORKSPACE.id, category: this.editorInput.selectedCategory, step: this.editorInput.selectedStep };
|
||||
this.storageService.store(
|
||||
|
||||
@@ -72,7 +72,7 @@ export class GettingStartedInput extends EditorInput {
|
||||
}
|
||||
|
||||
override getName() {
|
||||
return this.selectedCategory ? this.walkthroughService.getWalkthrough(this.selectedCategory).walkthroughPageTitle : localize('getStarted', "Welcome");
|
||||
return this.selectedCategory ? localize('walkthroughPageTitle', 'Walkthrough: ') + this.walkthroughService.getWalkthrough(this.selectedCategory).walkthroughPageTitle : localize('getStarted', "Welcome");
|
||||
}
|
||||
|
||||
get selectedCategory() {
|
||||
|
||||
Reference in new issue
Block a user