|
51 | 51 | (click)="changeTableBasedOnCurrentSort()" |
52 | 52 | >ISO</mat-button-toggle |
53 | 53 | > |
| 54 | + <mat-button-toggle |
| 55 | + value="sortByISO22" |
| 56 | + (click)="changeTableBasedOnCurrentSort()" |
| 57 | + >ISO22</mat-button-toggle |
| 58 | + > |
54 | 59 | </mat-button-toggle-group> |
55 | 60 | </section> |
56 | 61 | </div> |
|
80 | 85 | <th mat-header-cell *matHeaderCellDef>SAMM</th> |
81 | 86 | <td mat-cell *matCellDef="let element">{{ element.samm2 }}</td> |
82 | 87 | </ng-container> |
83 | | - <ng-container *ngIf="currentlySortingByTask || currentlySortingByISO"> |
| 88 | + <ng-container *ngIf="currentlySortingByTask || currentlySortingByISO || currentlySortingByISO22"> |
84 | 89 | <th mat-header-cell *matHeaderCellDef>SAMM</th> |
85 | 90 | <td mat-cell *matCellDef="let element"> |
86 | 91 | <ul> |
|
98 | 103 | <td mat-cell *matCellDef="let element">{{ element.ISO }}</td> |
99 | 104 | </ng-container> |
100 | 105 |
|
101 | | - <ng-container *ngIf="currentlySortingByTask || currentlySortingBySAMM"> |
| 106 | + <ng-container *ngIf="currentlySortingByTask || currentlySortingBySAMM || currentlySortingByISO22"> |
102 | 107 | <th mat-header-cell *matHeaderCellDef>ISO</th> |
103 | 108 | <td mat-cell *matCellDef="let element"> |
104 | 109 | <ul> |
|
110 | 115 | </ng-container> |
111 | 116 | </ng-container> |
112 | 117 |
|
| 118 | + <ng-container matColumnDef="ISO22"> |
| 119 | + <ng-container *ngIf="currentlySortingByISO22"> |
| 120 | + <th mat-header-cell *matHeaderCellDef>ISO22</th> |
| 121 | + <td mat-cell *matCellDef="let element">{{ element.ISO22 }}</td> |
| 122 | + </ng-container> |
| 123 | + |
| 124 | + <ng-container *ngIf="currentlySortingByTask || currentlySortingBySAMM || currentlySortingByISO"> |
| 125 | + <th mat-header-cell *matHeaderCellDef>ISO22</th> |
| 126 | + <td mat-cell *matCellDef="let element"> |
| 127 | + <ul> |
| 128 | + <li *ngFor="let ISO22Element of element.ISO22"> |
| 129 | + {{ ISO22Element }} |
| 130 | + </li> |
| 131 | + </ul> |
| 132 | + </td> |
| 133 | + </ng-container> |
| 134 | + </ng-container> |
| 135 | + |
113 | 136 | <tr mat-header-row *matHeaderRowDef="displayedColumns"></tr> |
114 | 137 | <tr mat-row *matRowDef="let row; columns: displayedColumns"></tr> |
115 | 138 | </table> |
|
133 | 156 | <th>Depends On</th> |
134 | 157 | <th>SAMM</th> |
135 | 158 | <th>ISO</th> |
| 159 | + <th>ISO22</th> |
136 | 160 | </tr> |
137 | 161 | <tr *ngFor="let item of allMappingDataSortedByISO"> |
138 | 162 | <td>{{ item.dimension }}</td> |
|
152 | 176 | <td>{{ item.dependsOn }}</td> |
153 | 177 | <td>{{ item.samm2 }}</td> |
154 | 178 | <td>{{ item.ISO }}</td> |
| 179 | + <td>{{ item.ISO22 }}</td> |
155 | 180 | </tr> |
156 | 181 | </table> |
157 | 182 | </div> |
0 commit comments