Improved the bug on the teachers

This commit is contained in:
Tiago Ribeiro
2024-08-20 00:10:26 +01:00
parent 688505b4eb
commit 4e583d11b6
2 changed files with 9 additions and 2 deletions

View File

@@ -121,7 +121,7 @@ export default function TeacherDashboard({user}: Props) {
};
const GroupsList = () => {
const filter = (x: Group) => x.admin === user.id || x.participants.includes(user.id);
const filter = (x: Group) => x.admin === user.id;
return (
<>