Skip to content

Commit 5bc6d84

Browse files
committed
chore: hide tutor notes icon in footer from tutors
1 parent c302547 commit 5bc6d84

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/app/common/footer/footer.component.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ export class FooterComponent implements OnInit {
6969
const canAccess =
7070
this.currentUnitRole.role === 'Convenor' ||
7171
this.currentUnitRole.role === 'Admin' ||
72-
(tutor.mentor && tutor.mentor.id === this.currentUnitRole.id) ||
73-
tutor.id === this.currentUnitRole.id;
72+
(tutor.mentor && tutor.mentor.id === this.currentUnitRole.id);
7473

7574
return canAccess;
7675
}

src/app/common/header/task-dropdown/task-dropdown.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
>Discussion
138138
</button>
139139
<button (click)="openTutorNotes()" mat-menu-item>
140-
<mat-icon aria-label="Tutor Notes icon" fontIcon="local_library"></mat-icon>Tutor Notes
140+
<mat-icon aria-label="Tutor Notes icon" fontIcon="local_library"></mat-icon>My Tutor Notes
141141
</button>
142142
<mat-divider></mat-divider>
143143
<!-- <p class="task-dropdown-heading">Students</p> -->

0 commit comments

Comments
 (0)