fetchSchedulerQueuesForPartition()

in src/app/components/queues-view/queues-view.component.ts [107:125]


  fetchSchedulerQueuesForPartition(partitionName: string) {
    this.spinner.show();

    this.scheduler
      .fetchSchedulerQueues(partitionName)
      .pipe(
        finalize(() => {
          this.spinner.hide();
        })
      )
      .subscribe((data) => {
        this.queueList = {};

        if (data && data.rootQueue) {
          this.rootQueue = data.rootQueue;
          this.queueList['level_00'] = [this.rootQueue!];
        }
      });
  }