.
This commit is contained in:
+1
-1
@@ -234,7 +234,7 @@ async function loadExamList(data) {
|
||||
// If the timestamps differ delete and force a refresh
|
||||
const exam_timestamp = exam_generated_map[saved_exam.eid][0];
|
||||
const question_timestamp_hash = exam_generated_map[saved_exam.eid][1];
|
||||
console.log("comp timestamps", exam_timestamp, question_timestamp_hash)
|
||||
console.log("comp timestamps", exam_timestamp, saved_exam.generated)
|
||||
console.log(exam_generated_map)
|
||||
if (Date.parse(saved_exam.generated) != Date.parse(exam_timestamp)) {
|
||||
question_db.saved_exams.where("eid").equals(saved_exam.eid).delete();
|
||||
|
||||
Reference in New Issue
Block a user