onPartitionSelectionChanged()

in src/app/components/queues-view/queues-view.component.ts [208:219]


  onPartitionSelectionChanged(selected: MatSelectChange) {
    if (selected.value !== '') {
      this.partitionSelected = selected.value;
      this.closeQueueDrawer();
      this.fetchSchedulerQueuesForPartition(this.partitionSelected);
      CommonUtil.setStoredQueueAndPartition(this.partitionSelected);
    } else {
      this.partitionSelected = '';
      this.queueList = {};
      CommonUtil.setStoredQueueAndPartition('');
    }
  }