Skip to content

Commit

Permalink
rejected fields on summary page #1798
Browse files Browse the repository at this point in the history
  • Loading branch information
Darynarli authored and Darynarli committed Feb 20, 2025
1 parent d6426e4 commit bc9dc4e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions dataedit/static/peer_review/opr_contributor.js
Original file line number Diff line number Diff line change
Expand Up @@ -368,10 +368,14 @@ function renderSummaryPageFields() {
if (isEmptyValue(fieldValue)) {
emptyFields.push({ fieldName, fieldValue, fieldCategory: "emptyFields" });
processedFields.add(uniqueFieldIdentifier);
} else if (fieldState === 'ok' || fieldState === 'rejected') {
} else if (fieldState === 'ok' ) {
acceptedFields.push({ fieldName, fieldValue, fieldCategory });
processedFields.add(uniqueFieldIdentifier);
}
else if (fieldState === 'rejected') {
rejectedFields.push({ fieldName, fieldValue, fieldCategory });
processedFields.add(uniqueFieldIdentifier);
}
}
}

Expand Down Expand Up @@ -772,7 +776,7 @@ function updateTabClasses() {
}
window.addEventListener('DOMContentLoaded', updateTabClasses);

console.log(4444)
console.log(888)
/**
* Hide and show revier controles once the user clicks the summary tab
*/
Expand Down

0 comments on commit bc9dc4e

Please sign in to comment.