Fixed an issue preventing the user from seeing data regarding the assignment
This commit is contained in:
@@ -36,7 +36,8 @@ export default function AssignmentsPage({assignments, corporateAssignments, user
|
||||
}}
|
||||
assignment={selectedAssignment}
|
||||
/>
|
||||
<AssignmentCreator
|
||||
{/** I'll be using this is creating assingment as a workaround for a key to trigger a new rendering */}
|
||||
{isCreatingAssignment && <AssignmentCreator
|
||||
assignment={selectedAssignment}
|
||||
groups={groups}
|
||||
users={users}
|
||||
@@ -47,7 +48,7 @@ export default function AssignmentsPage({assignments, corporateAssignments, user
|
||||
setSelectedAssignment(undefined);
|
||||
reloadAssignments();
|
||||
}}
|
||||
/>
|
||||
/>}
|
||||
<div className="w-full flex justify-between items-center">
|
||||
<div
|
||||
onClick={onBack}
|
||||
|
||||
Reference in New Issue
Block a user