-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
changed the way and places where study material access is displayed #2839
Conversation
markgol777
commented
Nov 21, 2024
src/containers/my-cooperations/cooperation-completion/CooperationCompletion.tsx
Show resolved
Hide resolved
Quality Gate passedIssues Measures |
@@ -51,6 +53,8 @@ const TeachingBlock = <T extends CreateOrUpdateOfferData>({ | |||
} | |||
} | |||
|
|||
const studyMaterials = userRole === UserRoleEnum.Student && <StudyMaterials /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May be it is better not to create a variable but just move userRole === UserRoleEnum.Student && <StudyMaterials />
to 140 line and put it in brackets instead of studyMaterials
. It is not necessary, it's up to you
…2839) * changed the way and places where study material access is displayed * removed comments