File tree Expand file tree Collapse file tree
src/frontend/src/pages/ChangeRequestDetailPage Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,6 +34,8 @@ import { useSingleProject } from '../../hooks/projects.hooks';
3434import LoadingIndicator from '../../components/LoadingIndicator' ;
3535import ErrorPage from '../ErrorPage' ;
3636import PageLayout from '../../components/PageLayout' ;
37+ import ContentPasteIcon from '@mui/icons-material/ContentPaste' ;
38+ import DeleteIcon from '@mui/icons-material/Delete' ;
3739
3840const buildDetails = ( cr : ChangeRequest ) : ReactElement => {
3941 switch ( cr . type ) {
@@ -117,10 +119,16 @@ const ChangeRequestDetailsView: React.FC<ChangeRequestDetailsProps> = ({
117119 </ NERButton >
118120 < Menu open = { dropdownOpen } anchorEl = { anchorEl } onClose = { handleDropdownClose } >
119121 < MenuItem onClick = { handleReviewOpen } disabled = { ! isUserAllowedToReview } >
122+ < ListItemIcon >
123+ < ContentPasteIcon fontSize = "small" />
124+ </ ListItemIcon >
120125 Review
121126 </ MenuItem >
122127 < Divider />
123128 < MenuItem disabled = { ! isUserAllowedToDelete } onClick = { handleDeleteOpen } >
129+ < ListItemIcon >
130+ < DeleteIcon fontSize = "small" />
131+ </ ListItemIcon >
124132 Delete
125133 </ MenuItem >
126134 </ Menu >
You can’t perform that action at this time.
0 commit comments