async fetchPath()

in ui/src/app/app.component.ts [47:58]


  async fetchPath() {
    let path = this.pathStack[this.pathStack.length - 1];
    if (!path) return;

    try {
      const result = await this.exploreService.getDir(path, '');
      this.directoryTitle$ = result.title;
      this.directoryList$ = result.contents;
    } catch (error) {
      console.error('Error fetching path:', error);
    }
  }