relogin on 403

This commit is contained in:
primakov committed 2024-03-01 12:03:16 +03:00
1 parent 37998bee63
commit 7d0357e5ac
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -50,7 +50,7 @@ export const Lesson = () => {
<ul style={{ paddingLeft: 0 }}>
{accessCode?.body?.lesson?.students?.map((student, index) => (
<LessonItem key={index}>
<Lessonname>{student.preferred_username || student.name}</Lessonname>
<Lessonname>{student.name || student.preferred_username}</Lessonname>
</LessonItem>
))}
</ul>
+1 -1
View File
@@ -52,7 +52,7 @@ export const UserPage = () => {
<ul style={{ paddingLeft: 0 }}>
{ls.data?.body?.students?.map((student, index) => (
<LessonItem key={index}>
<Lessonname>{student.preferred_username || student.name}</Lessonname>
<Lessonname>{student.name || student.preferred_username}</Lessonname>
</LessonItem>
))}
</ul>