fix: quiz evalutation issue (#25671)

This commit is contained in:
Prssanna Desai 2021-05-13 12:17:28 +05:30 committed by GitHub
parent c55aa295fc
commit 0eb3a38c9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -118,7 +118,7 @@ class Quiz {
quiz_response: this.get_selected(),
course: this.course,
program: this.program,
time_taken: this.is_time_bound ? this.time_taken : ""
time_taken: this.is_time_bound ? this.time_taken : 0
}).then(res => {
this.submit_btn.remove()
if (!res.message) {