This commit is contained in:
2024-02-07 16:21:04 -07:00
parent 292c06ecc9
commit 0881acd1f8
77 changed files with 239 additions and 204 deletions

View File

@@ -42,10 +42,11 @@ public class DroppableQuiz : ComponentBase
);
var NewQuizList = currentModule.Quizzes
.Select(q =>
q.Name + q.Description != Quiz.Name + Quiz.Description
? q :
q with {
.Select(q =>
q.Name + q.Description != Quiz.Name + Quiz.Description
? q :
q with
{
DueAt = defaultDueTimeDate,
LockAt = q.LockAt > defaultDueTimeDate ? q.LockAt : defaultDueTimeDate
}