fetchSchedulerQueuesForPartition()

in src/app/components/queue-v2/queues-v2.component.ts [62:80]


  fetchSchedulerQueuesForPartition() {
    let partitionName = 'default';
    this.spinner.show();
  
    this.scheduler
      .fetchSchedulerQueues(partitionName)
      .pipe(
        finalize(() => {
          this.spinner.hide();
        })
      )
      .subscribe((data) => {
        if (data && data.rootQueue) {
          this.rootQueue = data.rootQueue;
          queueVisualization(this.rootQueue as QueueInfo, this)
          setTimeout(() => this.adjustToScreen(),1000) // since the ngAfterViewInit hook is not working, we used setTimeout instead
        }
      });
  }