diff --git a/src/views/nodes/branchNode.ts b/src/views/nodes/branchNode.ts index 07e0f94..a464b4c 100644 --- a/src/views/nodes/branchNode.ts +++ b/src/views/nodes/branchNode.ts @@ -58,7 +58,9 @@ export class BranchNode extends ViewRefNode implements Pageabl } get treeHierarchy(): string[] { - return this.branch.detached || this.branch.starred ? [this.branch.name] : this.branch.getName().split('/'); + return this.branch.current || this.branch.detached || this.branch.starred + ? [this.branch.name] + : this.branch.getName().split('/'); } async getChildren(): Promise {