Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4ada18f

Browse files
author
vikasrohit
committedFeb 9, 2016
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)
This repository has been archived.