Skip to content

Commit

Permalink
Merge pull request openedx#386 from DmytroAlipov/fix-second-opening-g…
Browse files Browse the repository at this point in the history
…rade-quince

fix: "An unexpected error occurred" after second opening any grade
  • Loading branch information
cmltaWt0 authored Apr 9, 2024
2 parents e795163 + bd25b6b commit aa2b1a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/GradesView/EditModal/OverrideTable/hooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const useOverrideTableData = () => {
const { formatMessage } = useIntl();

const hide = selectors.grades.useHasOverrideErrors();
const gradeOverrides = selectors.grades.useGradeData().gradeOverrideHistoryResults;
const gradeOverrides = selectors.grades.useGradeData().gradeOverrideHistoryResults || [];
const tableProps = {};
if (!hide) {
tableProps.columns = [
Expand Down

0 comments on commit aa2b1a5

Please sign in to comment.