toggleRowSelection()

in src/app/components/apps-view/apps-view.component.ts [273:285]


  toggleRowSelection(row: AppInfo) {
    this.unselectAllRowsButOne(row);
    if (row.isSelected) {
      this.removeRowSelection();
    } else {
      this.selectedRow = row;
      row.isSelected = true;
      this.matDrawer.open();
      if (row.allocations) {
        this.allocDataSource.data = row.allocations;
      }
    }
  }