From 7ad5f60cdba5a0f766592aed5b718ba82c3e0881 Mon Sep 17 00:00:00 2001 From: Jonathan Cammisuli Date: Fri, 3 Sep 2021 13:30:43 -0400 Subject: [PATCH] fix: remove loading item from projects view (#1129) --- .../nx-project-view/src/lib/nx-project-tree-provider.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/libs/vscode/nx-project-view/src/lib/nx-project-tree-provider.ts b/libs/vscode/nx-project-view/src/lib/nx-project-tree-provider.ts index b3a046f319..2530bb49c4 100644 --- a/libs/vscode/nx-project-view/src/lib/nx-project-tree-provider.ts +++ b/libs/vscode/nx-project-view/src/lib/nx-project-tree-provider.ts @@ -18,8 +18,6 @@ import { WorkspaceConfigurationStore } from '@nx-console/vscode/configuration'; * Provides data for the "Projects" tree view */ export class NxProjectTreeProvider extends AbstractTreeProvider { - loading = true; - constructor( context: ExtensionContext, private readonly cliTaskProvider: CliTaskProvider @@ -86,13 +84,6 @@ export class NxProjectTreeProvider extends AbstractTreeProvider { - if (this.loading) { - setTimeout(() => { - this.loading = false; - this.refresh(); - }); - return [this.createNxProjectTreeItem({ project: 'Loading' }, 'Loading')]; - } if (!parent) { const projects = this.cliTaskProvider.getProjectEntries(); return projects.map(