goTo()

in ui/src/app/app.component.ts [64:76]


  goTo(newPath: string) {
    const lastPath = this.pathStack[this.pathStack.length - 1];
    if (
      !newPath.endsWith('/') ||
      newPath === lastPath ||
      '/' + newPath === lastPath
    ) {
      return;
    }

    this.pathStack = [...this.pathStack, newPath];
    this.fetchPath();
  }