openedx / frontend-app-gradebook

Instructor grade book tool
GNU Affero General Public License v3.0
11 stars 87 forks source link

fix: file input handler #323

Closed leangseu-edx closed 1 year ago

leangseu-edx commented 1 year ago

TL;DR - hasFile run only once, it will always be null

JIRA: https://2u-internal.atlassian.net/browse/CR-5738

Developer Checklist

Testing Instructions

[ How should a reviewer test this PR? ]

Reviewer Checklist

Collectively, these should be completed by reviewers of this PR:

FYI: @openedx/content-aurora

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (541a661) 100.00% compared to head (7391ef2) 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #323 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 122 122 Lines 1269 1268 -1 Branches 251 249 -2 ========================================= - Hits 1269 1268 -1 ``` | [Impacted Files](https://codecov.io/gh/openedx/frontend-app-gradebook/pull/323?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openedx) | Coverage Δ | | |---|---|---| | [.../components/GradesView/ImportGradesButton/hooks.js](https://codecov.io/gh/openedx/frontend-app-gradebook/pull/323?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openedx#diff-c3JjL2NvbXBvbmVudHMvR3JhZGVzVmlldy9JbXBvcnRHcmFkZXNCdXR0b24vaG9va3MuanM=) | `100.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.