From 1335c14acc1efc222cce3e6d200d3a3398c1fd7f Mon Sep 17 00:00:00 2001 From: Tiago Ribeiro Date: Mon, 15 Jan 2024 16:34:06 +0000 Subject: [PATCH] Removed the ability for a Teacher to upload a file for the Group creation --- src/pages/(admin)/Lists/GroupList.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/pages/(admin)/Lists/GroupList.tsx b/src/pages/(admin)/Lists/GroupList.tsx index 9d48254b..4f6efb89 100644 --- a/src/pages/(admin)/Lists/GroupList.tsx +++ b/src/pages/(admin)/Lists/GroupList.tsx @@ -119,9 +119,11 @@ const CreatePanel = ({user, users, group, onClose}: CreateDialogProps) => { }), }} /> - + {user.type !== "teacher" && ( + + )}