Skip to content

Commit

Permalink
change all devices also to an icon (freifunkMUC#616)
Browse files Browse the repository at this point in the history
  • Loading branch information
T0biii authored Mar 11, 2024
1 parent 4805f22 commit 012718b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion website/src/components/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import IconButton from "@mui/material/IconButton";
import Brightness4Icon from '@mui/icons-material/Brightness4';
import Brightness7Icon from '@mui/icons-material/Brightness7';
import LogoutIcon from '@mui/icons-material/Logout';
import DevicesIcon from '@mui/icons-material/Devices';
import {useMediaQuery} from "@mui/material";

const useStyles = makeStyles((theme) => ({
Expand Down Expand Up @@ -50,7 +51,9 @@ export default function Navigation() {

{AppState.info?.isAdmin && (
<Link to="/admin/all-devices" color="inherit" component={NavLink}>
<Button color="inherit">All Devices</Button>
<IconButton sx={{ ml: 1 }} color="inherit" title="All Devices">
<DevicesIcon />
</IconButton>
</Link>
)}

Expand Down

0 comments on commit 012718b

Please sign in to comment.