adding complete and undo-complete on click
This commit is contained in:
@@ -17,13 +17,13 @@
|
||||
<div>Week {{planWeek.week}}</div>
|
||||
</td>
|
||||
@for (workout of planWeek.workouts; track $index) {
|
||||
<td class="hoverOverWorkout">
|
||||
<td class="incompleteWorkout" (click)="onCellClick($event)">
|
||||
<div>{{workout.type}}</div>
|
||||
<div>{{workout.totalDistance == 0 ? '' : workout.totalDistance + ' miles'}}</div>
|
||||
<div>{{workout.description}}</div>
|
||||
</td>
|
||||
}
|
||||
<td>43</td>
|
||||
<td>{{planWeek.totalMilage}}</td>
|
||||
</tr>
|
||||
}
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user