diff --git a/ui/winstudentgoaltracker/src/app/desktop/components/workspace/workspace.html b/ui/winstudentgoaltracker/src/app/desktop/components/workspace/workspace.html index 4df120a..0915d49 100644 --- a/ui/winstudentgoaltracker/src/app/desktop/components/workspace/workspace.html +++ b/ui/winstudentgoaltracker/src/app/desktop/components/workspace/workspace.html @@ -29,13 +29,13 @@ IEP {{ formatDate(student()!.nextIepDate) }}
+ @for (g of goals(); track g.goalId) { } -
@@ -46,15 +46,15 @@
{{ selectedGoal()!.category }} Goal - @if (selectedGoal()!.targetCompletionDate) { - Due {{ formatDate(selectedGoal()!.targetCompletionDate) }} - } + @if (selectedGoal()!.targetCompletionDate) { + Due {{ formatDate(selectedGoal()!.targetCompletionDate) }} + }

{{ selectedGoal()!.description }}

diff --git a/ui/winstudentgoaltracker/src/app/desktop/components/workspace/workspace.ts b/ui/winstudentgoaltracker/src/app/desktop/components/workspace/workspace.ts index 0606865..fa32d2a 100644 --- a/ui/winstudentgoaltracker/src/app/desktop/components/workspace/workspace.ts +++ b/ui/winstudentgoaltracker/src/app/desktop/components/workspace/workspace.ts @@ -28,6 +28,7 @@ export class Workspace { const goalId = params.get('goalId'); if (studentId && studentId !== this.studentId()) { + this.selectedGoalId.set(null); this.studentId.set(studentId); this.loadStudentData(studentId); } else if (!studentId) { diff --git a/ui/winstudentgoaltracker/src/app/desktop/pages/home/home.html b/ui/winstudentgoaltracker/src/app/desktop/pages/home/home.html index 8e6b9d2..644ca6c 100644 --- a/ui/winstudentgoaltracker/src/app/desktop/pages/home/home.html +++ b/ui/winstudentgoaltracker/src/app/desktop/pages/home/home.html @@ -28,7 +28,11 @@
- @for (s of students(); track s.studentId) { + @for (group of groupedStudents(); track group.label) { + @if (group.label) { +
{{ group.label }}
+ } + @for (s of group.students; track s.studentId) {
@@ -37,9 +41,6 @@
IEP: {{ formatDate(s.nextIepDate) }} - @if (showAll() && s.ownerName) { - ยท {{ s.ownerName }} - }
} + }