Compare commits

...

2 Commits

Author SHA1 Message Date
Primakov Alexandr Alexandrovich
c1311f351c 3.6.8 2025-01-08 18:39:22 +03:00
Primakov Alexandr Alexandrovich
c2fe846c5b fix getNavigationValue name 2025-01-08 18:39:18 +03:00
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.7", "version": "3.6.8",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "journal.pl", "name": "journal.pl",
"version": "3.6.7", "version": "3.6.8",
"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.7", "version": "3.6.8",
"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)
? `${getNavigationsValue('journal.main')}/lesson/${populatedCourse.id}/${lesson.id}` ? `${getNavigationValue('journal.main')}/lesson/${populatedCourse.id}/${lesson.id}`
: '' : ''
} }
> >