Sfoglia il codice sorgente

Fixes issue w/ current ordering when nested

main
Eric Amodio 5 anni fa
parent
commit
7b7b4fabf2
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. +3
    -1
      src/views/nodes/branchNode.ts

+ 3
- 1
src/views/nodes/branchNode.ts Vedi 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[]> {

Caricamento…
Annulla
Salva