CLASSROOMIO-T-1: Personalize marks and attendance to students
This commit is contained in:
@@ -93,15 +93,6 @@
|
||||
});
|
||||
|
||||
$: sortAndFilterPeople($group.people, filterBy);
|
||||
$: {
|
||||
const user: Person = $group.people.find(
|
||||
(person: { profile_id: number }) => person.profile_id === $profile.id
|
||||
)!;
|
||||
|
||||
if (user) {
|
||||
isStudent = user.role_id === 3;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<InviationModal />
|
||||
@@ -110,7 +101,7 @@
|
||||
{deletePerson}
|
||||
/>
|
||||
|
||||
<CourseContainer>
|
||||
<CourseContainer bind:isStudent>
|
||||
<PageNav title="People" disableSticky={true}>
|
||||
<slot:fragment slot="widget">
|
||||
<RoleBasedSecurity allowedRoles={[1, 2]}>
|
||||
|
||||
Reference in New Issue
Block a user