File tree Expand file tree Collapse file tree
src/app/component/circular-heatmap Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ <h2>Nothing to show</h2>
218218 </ mat-chip >
219219 < mat-chip
220220 #c ="matChip "
221- *ngFor ="let group of teamGroups | keyvalue "
221+ *ngFor ="let group of teamGroups | keyvalue : unsorted "
222222 (click) ="toggleTeamGroupSelection(c) ">
223223 {{ group.key }}
224224 </ mat-chip >
@@ -264,13 +264,12 @@ <h2>Nothing to show</h2>
264264 < ng-template matExpansionPanelContent >
265265 < ul class ="team-list ">
266266 < li
267- *ngFor ="let item of activity.teamsImplemented | keyvalue ">
267+ *ngFor ="let teamname of teamVisible ">
268268 < mat-checkbox
269- [checked] ="item.value === true "
270- *ngIf ="teamVisible.includes(item.key | ToStringValue) "
269+ [checked] ="activity.teamsImplemented[teamname] "
271270 color ="primary "
272- (click) ="this.teamCheckbox(activityIndex, item.key ) ">
273- {{ item.key }}
271+ (click) ="this.teamCheckbox(activityIndex, teamname); $event.preventDefault( ) ">
272+ {{ teamname }}
274273 </ mat-checkbox >
275274 </ li >
276275 </ ul >
Original file line number Diff line number Diff line change @@ -828,4 +828,8 @@ export class CircularHeatmapComponent implements OnInit {
828828 perfNow ( ) : string {
829829 return ( performance . now ( ) / 1000 ) . toFixed ( 3 ) ;
830830 }
831+
832+ unsorted ( ) {
833+ return 0 ;
834+ }
831835}
You can’t perform that action at this time.
0 commit comments