Add welcomePageWithTour to startupEditor check (#11702)

This commit is contained in:
Karl Burtram
2020-08-06 20:49:35 -07:00
committed by GitHub
parent dcd1a175e4
commit 4c4c22331d

View File

@@ -129,7 +129,8 @@ function isWelcomePageEnabled(configurationService: IConfigurationService, conte
return welcomeEnabled.value;
}
}
return startupEditor.value === 'welcomePage' || startupEditor.value === 'readme' || startupEditor.value === 'welcomePageInEmptyWorkbench' && contextService.getWorkbenchState() === WorkbenchState.EMPTY;
// {{SQL CARBON EDIT}} - add welcomePageWithTour
return startupEditor.value === 'welcomePageWithTour' || startupEditor.value === 'welcomePage' || startupEditor.value === 'readme' || startupEditor.value === 'welcomePageInEmptyWorkbench' && contextService.getWorkbenchState() === WorkbenchState.EMPTY;
}
export class WelcomePageAction extends Action {