Commit 520a2f1
committed
fix(course-page): handle null autofixRequests safely
Ensure lastSubmission.autofixRequests defaults to an empty array when null.
This prevents runtime errors during filtering non-staff autofix requests and
improves the stability of the test-results-bar component.1 parent 89b6a34 commit 520a2f1
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
0 commit comments