onConfirmDeleteLink(e, link)} styleName={`ext-link-tile_edit-header_delete ${link.deleting ? 'ext-link-tile_edit-header_delete--disabled' : ''}`} prevent-event-propagation="true" />
+
{
+ e.preventDefault();
+ e.stopPropagation();
+ onConfirmDeleteLink(e, link);
+ }}
+ styleName={`ext-link-tile_edit-header_delete ${link.deleting ? 'ext-link-tile_edit-header_delete--disabled' : ''}`}
+ />
@@ -94,7 +102,7 @@ export default function ExistingLink(props) {
Loading data. This will take a few minutes.
-
+
{prependProtocol(link.URL)}
diff --git a/src/shared/components/challenge-detail/Header/TabSelector/index.jsx b/src/shared/components/challenge-detail/Header/TabSelector/index.jsx
index dcdc49f122..f7c9d104f1 100644
--- a/src/shared/components/challenge-detail/Header/TabSelector/index.jsx
+++ b/src/shared/components/challenge-detail/Header/TabSelector/index.jsx
@@ -404,9 +404,9 @@ export default function ChallengeViewSelector(props) {
{
- sortOptions.map((option, index) => (
+ sortOptions.map(option => (
{
setSelectedSortOption(option.name);
diff --git a/src/shared/components/challenge-detail/Submissions/SubmissionRow/SubmissionHistoryRow/index.jsx b/src/shared/components/challenge-detail/Submissions/SubmissionRow/SubmissionHistoryRow/index.jsx
index 5510ef4741..750458887b 100644
--- a/src/shared/components/challenge-detail/Submissions/SubmissionRow/SubmissionHistoryRow/index.jsx
+++ b/src/shared/components/challenge-detail/Submissions/SubmissionRow/SubmissionHistoryRow/index.jsx
@@ -21,7 +21,6 @@ const { getService } = services.submissions;
export default function SubmissionHistoryRow({
isMM,
- isRDM,
submission,
finalScore,
provisionalScore,
@@ -82,7 +81,7 @@ export default function SubmissionHistoryRow({
{
- isLoggedIn && (isMM || isRDM)
+ isLoggedIn && isMM
&& (numWinners > 0 || challengeStatus === CHALLENGE_STATUS.COMPLETED) && (
Action
@@ -122,7 +121,6 @@ SubmissionHistoryRow.defaultProps = {
SubmissionHistoryRow.propTypes = {
isMM: PT.bool.isRequired,
- isRDM: PT.bool.isRequired,
submission: PT.number.isRequired,
finalScore: PT.oneOfType([
PT.number,
diff --git a/src/shared/components/challenge-detail/Submissions/SubmissionRow/index.jsx b/src/shared/components/challenge-detail/Submissions/SubmissionRow/index.jsx
index b2fc9cca9b..f4a61b11bb 100644
--- a/src/shared/components/challenge-detail/Submissions/SubmissionRow/index.jsx
+++ b/src/shared/components/challenge-detail/Submissions/SubmissionRow/index.jsx
@@ -19,7 +19,7 @@ import SubmissionHistoryRow from './SubmissionHistoryRow';
import style from './style.scss';
export default function SubmissionRow({
- isMM, isRDM, openHistory, member, submissions, score, toggleHistory, challengeStatus,
+ isMM, openHistory, member, submissions, score, toggleHistory, challengeStatus,
isReviewPhaseComplete, finalRank, provisionalRank, onShowPopup, rating, viewAsTable,
numWinners, auth, isLoggedIn,
}) {
@@ -166,8 +166,7 @@ export default function SubmissionRow({
Time
{
- (isMM || isRDM)
- && (numWinners > 0 || challengeStatus === CHALLENGE_STATUS.COMPLETED) && (
+ isMM && (numWinners > 0 || challengeStatus === CHALLENGE_STATUS.COMPLETED) && (
Action
@@ -186,7 +185,6 @@ export default function SubmissionRow({
0 || challenge.status === CHALLENGE_STATUS.COMPLETED)
- && (isMM || isRDM) && isLoggedIn) && (
+ && isMM && isLoggedIn) && (