Skip to content

Commit

Permalink
fix: hide the add co-reviewer/mentor buttons
Browse files Browse the repository at this point in the history
The 'add co-reviewer(s)' and 'add mentor' buttons don't work correctly and create confusion. As fixing the problem is complicated, this change hides them in favour of manually adding them when requested.

Refs #418, #423
  • Loading branch information
thewilkybarkid committed Nov 30, 2021
1 parent d729a7d commit 2a5e981
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/frontend/components/review-stepper.js
Original file line number Diff line number Diff line change
Expand Up @@ -726,15 +726,15 @@ export default function ReviewStepper({
))
) : null}
</AvatarGroup>
<AddAuthors
{/*<AddAuthors
reviewId={cid}
authors={review ? review.authors : null}
/>
<AddAuthors
isMentor={true}
reviewId={cid}
authors={review ? review.mentors : null}
/>
/>*/}
</Grid>
<Grid item xs={12} sm={6}>
<Box textAlign="right" mr={2}>
Expand Down

0 comments on commit 2a5e981

Please sign in to comment.