We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 70e8458 + 61115a4 commit f3c51d2Copy full SHA for f3c51d2
1 file changed
src/addons/mod/assign/services/assign.ts
@@ -977,12 +977,12 @@ export class AddonModAssignProvider {
977
isBlind: !!submission.blindid,
978
});
979
980
- if (!response.feedback || !response.feedback.gradeddate) {
+ if (!response.feedback?.grade?.timemodified) {
981
// Not graded.
982
return true;
983
}
984
985
- return response.feedback.gradeddate < submission.timemodified;
+ return response.feedback.grade.timemodified < submission.timemodified;
986
987
988
/**
0 commit comments