Skip to content
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

Merged
merged 2 commits into from
Nov 25, 2024

Conversation

markgol777
Copy link
Contributor

image
image

@@ -51,6 +53,8 @@ const TeachingBlock = <T extends CreateOrUpdateOfferData>({
}
}

const studyMaterials = userRole === UserRoleEnum.Student && <StudyMaterials />
Copy link
Contributor

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

@markgol777 markgol777 merged commit 5f0ab8d into develop Nov 25, 2024
9 checks passed
@markgol777 markgol777 deleted the feature/2641/studyMaterialView branch November 25, 2024 12:51
Made1ra pushed a commit that referenced this pull request Nov 26, 2024
…2839)

* changed the way and places where study material access is displayed

* removed comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Frontend part
Projects
None yet
Development

Successfully merging this pull request may close these issues.

(SP: 2) Change the design of study materials access when creating an offer
4 participants