Skip to content

Commit

Permalink
standardise tree view name
Browse files Browse the repository at this point in the history
  • Loading branch information
mattseddon committed Jun 1, 2022
1 parent e5bc534 commit ad29a7f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions extension/src/fileSystem/tree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export class TrackedExplorerTree
{
public readonly onDidChangeTreeData: Event<void>

private readonly treeView: TreeView<string | PathItem>
private readonly view: TreeView<string | PathItem>
private readonly internalCommands: InternalCommands
private readonly repositories: WorkspaceRepositories

Expand All @@ -63,7 +63,7 @@ export class TrackedExplorerTree

this.onDidChangeTreeData = repositories.treeDataChanged.event

this.treeView = this.dispose.track(
this.view = this.dispose.track(
createTreeView<PathItem>('dvc.views.trackedExplorerTree', this, true)
)
}
Expand Down Expand Up @@ -272,6 +272,6 @@ export class TrackedExplorerTree
}

private getSelectedPathItems() {
return [...this.treeView.selection]
return [...this.view.selection]
}
}

0 comments on commit ad29a7f

Please sign in to comment.