Compare commits

..

No commits in common. "c1311f351cd0572a23ab24f69b41ff5868edd230" and "81533c33424bd229c05e19b296482d7dce9c68b6" have entirely different histories.

3 changed files with 4 additions and 4 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "journal.pl", "name": "journal.pl",
"version": "3.6.8", "version": "3.6.7",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "journal.pl", "name": "journal.pl",
"version": "3.6.8", "version": "3.6.7",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@brojs/cli": "^1.8.4", "@brojs/cli": "^1.8.4",

View File

@ -1,6 +1,6 @@
{ {
"name": "journal.pl", "name": "journal.pl",
"version": "3.6.8", "version": "3.6.7",
"description": "bro-js platform journal ui repo", "description": "bro-js platform journal ui repo",
"main": "./src/index.tsx", "main": "./src/index.tsx",
"scripts": { "scripts": {

View File

@ -95,7 +95,7 @@ export const CourseDetails = ({ populatedCourse }: CourseDetailsProps) => {
key={lesson.id} key={lesson.id}
to={ to={
isTeacher(user) isTeacher(user)
? `${getNavigationValue('journal.main')}/lesson/${populatedCourse.id}/${lesson.id}` ? `${getNavigationsValue('journal.main')}/lesson/${populatedCourse.id}/${lesson.id}`
: '' : ''
} }
> >