-
onDownloadSubmission(submissionObject.id)}
+ type="button"
>
-
+
{ /*
TODO: At the moment we just fetch downloads from the legacy
Topcoder Studio API, and we don't need any JS code to this.
@@ -132,6 +130,7 @@ Submission.propTypes = {
}),
showScreeningDetails: PT.bool,
track: PT.string.isRequired,
+ onDownload: PT.func.isRequired,
onDelete: PT.func.isRequired,
onShowDetails: PT.func,
status: PT.string.isRequired,
diff --git a/src/shared/components/Terms/TermDetails.scss b/src/shared/components/Terms/TermDetails.scss
index 675274ce3b..93ddaf3a90 100644
--- a/src/shared/components/Terms/TermDetails.scss
+++ b/src/shared/components/Terms/TermDetails.scss
@@ -40,6 +40,44 @@
br + br {
display: none;
}
+
+ ol {
+ margin: 0 0 5px;
+ counter-reset: item;
+ font-size: 15px;
+ color: $tc-gray-90;
+ line-height: 25px;
+ display: table;
+
+ li {
+ list-style-type: none;
+ font-weight: 400;
+ counter-increment: item;
+ display: table-row;
+ white-space: normal;
+
+ &::before {
+ display: table-cell;
+ font-weight: 700;
+ text-align: right;
+ content: counter(item) ".";
+ padding: 0 10px 0 0;
+ width: 32px;
+ }
+ }
+ }
+
+ ul {
+ margin: 0 0 5px 20px;
+ font-size: 15px;
+ color: $tc-gray-90;
+ line-height: 25px;
+ list-style: disc outside none;
+
+ li {
+ font-weight: 400;
+ }
+ }
}
.frame {
diff --git a/src/shared/components/challenge-detail/Checkpoints/index.jsx b/src/shared/components/challenge-detail/Checkpoints/index.jsx
index cc7f5a62c8..a6e1282d5a 100644
--- a/src/shared/components/challenge-detail/Checkpoints/index.jsx
+++ b/src/shared/components/challenge-detail/Checkpoints/index.jsx
@@ -27,7 +27,7 @@ function Checkpoints(props) {
document
.getElementsByClassName(style['challenge-checkpoint-winners'])[index]
.scrollIntoView(true);
- toggleCheckpointFeedback(index, true);
+ toggleCheckpointFeedback(item.submissionId, true);
}}
type="button"
>
@@ -47,12 +47,12 @@ function Checkpoints(props) {
}}
/>
{
- checkpointResults && checkpointResults.map((item, index) => (
+ checkpointResults && checkpointResults.map(item => (