Skip to content
Snippets Groups Projects
Commit 0e26e2e5 authored by Rafael László's avatar Rafael László :speech_balloon:
Browse files

remove rentals from admin panel

parent 36348aa5
No related branches found
No related tags found
No related merge requests found
Pipeline #5589 passed
......@@ -42,23 +42,6 @@ export const GroupAdminPanel: React.FC<TParams> = ({ group }) => {
</CardContent>
</Card>
</Grid>
<Grid item xs={12}>
<Card>
<CardContent>
<Typography align="center" variant="subtitle1">
{group?.activeRentalNum} Kölcsönzés
</Typography>
<Typography align="center" variant="subtitle1">
<StyledLink
to={`/group/${group?.id}/admin/rentals?s=active`}
style={{ color: theme.palette.primary.dark }}
>
Kezelés
</StyledLink>
</Typography>
</CardContent>
</Card>
</Grid>
</Grid>
</Grid>
<Grid item xs={12} md={3}>
......@@ -107,17 +90,6 @@ export const GroupAdminPanel: React.FC<TParams> = ({ group }) => {
</Card>
</StyledLink>
</Grid>
<Grid item xs={12}>
<StyledLink to={`/group/${group?.id}/admin/rentals`}>
<Card>
<CardContent>
<Typography align="center" variant="subtitle1">
Kölcsönzések
</Typography>
</CardContent>
</Card>
</StyledLink>
</Grid>
</Grid>
</Grid>
</Grid>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment