Changeset 8a7f936 for pages/dashboard/admin
- Timestamp:
- 12/29/25 00:37:49 (6 months ago)
- Branches:
- main
- Children:
- 5af32f0
- Parents:
- ae5d054
- File:
-
- 1 edited
-
pages/dashboard/admin/+Page.tsx (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pages/dashboard/admin/+Page.tsx
rae5d054 r8a7f936 49 49 const openSuggestionReview = (id: number, action: 'approved' | 'rejected') => { 50 50 setSuggestionDialog({ open: true, id, action }); 51 setAdminComment(action === 'approved' ? " Approved by admin." : "Rejected:");51 setAdminComment(action === 'approved' ? "" : ""); 52 52 }; 53 53 … … 123 123 </a> 124 124 </TableCell> 125 <TableCell>{sug.componentType }</TableCell>125 <TableCell>{sug.componentType.toUpperCase()}</TableCell> 126 126 <TableCell>{sug.userId}</TableCell> 127 127 <TableCell align="right"> … … 207 207 208 208 <Dialog open={suggestionDialog.open} onClose={() => setSuggestionDialog({...suggestionDialog, open: false})}> 209 <DialogTitle>Review Suggestion</DialogTitle>209 <DialogTitle>Review Component Suggestion</DialogTitle> 210 210 <DialogContent> 211 211 <Typography gutterBottom>Status: <b>{suggestionDialog.action.toUpperCase()}</b></Typography>
Note:
See TracChangeset
for help on using the changeset viewer.
