Browse Source

Fixes issue w/ current ordering when nested

main
Eric Amodio 5 years ago
parent
commit
7b7b4fabf2
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/views/nodes/branchNode.ts

+ 3
- 1
src/views/nodes/branchNode.ts View File

@ -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<ViewNode[]> {

Loading…
Cancel
Save