Skip to content

Commit 4ada18f

Browse files
author
vikasrohit
committed
SUP-3012, [Profile] Implement "private challenge" card
-- Removed workaround code for submissionViewable field after getting it from the API response.
1 parent 3c1ff04 commit 4ada18f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

app/services/challenge.service.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,6 @@ import moment from 'moment'
231231
if (!challenge.userHasSubmitterRole) {
232232
challenge.userStatus = 'COMPLETED'
233233
}
234-
// FIXME, replace with field from response
235-
challenge.submissionViewable = !challenge.isPrivate
236234
}
237235
})
238236
}

0 commit comments

Comments
 (0)