mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-29 16:20:29 -04:00
Merge from vscode 892353d48e17303de203bb5071f21ea69573367d
This commit is contained in:
@@ -117,9 +117,9 @@ export class ExtensionRecommendationsService extends Disposable implements IExte
|
||||
this.staticRecommendations.activate(), // {{SQL CARBON EDIT}} add ours
|
||||
this.scenarioRecommendations.activate(), // {{SQL CARBON EDIT}} add ours
|
||||
this.lifecycleService.when(LifecyclePhase.Eventually)
|
||||
.then(() => {
|
||||
.then(async () => {
|
||||
if (!this.configurationService.getValue<boolean>(ShowRecommendationsOnlyOnDemandKey)) {
|
||||
this.activateProactiveRecommendations();
|
||||
await this.activateProactiveRecommendations();
|
||||
}
|
||||
})
|
||||
]);
|
||||
|
||||
@@ -686,7 +686,7 @@ export class ExtensionsListView extends ViewPane {
|
||||
const recommendations = await this.extensionRecommendationsService.getWorkspaceRecommendations();
|
||||
const { important } = await this.extensionRecommendationsService.getConfigBasedRecommendations();
|
||||
for (const configBasedRecommendation of important) {
|
||||
if (recommendations.some(r => r.extensionId !== configBasedRecommendation.extensionId)) {
|
||||
if (!recommendations.find(r => r.extensionId === configBasedRecommendation.extensionId)) {
|
||||
recommendations.push(configBasedRecommendation);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user