feat: agregar opción "Ver perfil" en el menú de OrganizationHeader
This commit is contained in:
@@ -17,6 +17,7 @@ import classNames from "classnames";
|
|||||||
import { useNavigation } from "@core/app/hooks/goto";
|
import { useNavigation } from "@core/app/hooks/goto";
|
||||||
|
|
||||||
import ShareOutlinedIcon from "@mui/icons-material/ShareOutlined";
|
import ShareOutlinedIcon from "@mui/icons-material/ShareOutlined";
|
||||||
|
import OpenInNewIcon from "@mui/icons-material/OpenInNew";
|
||||||
import Dialog from "@mui/material/Dialog";
|
import Dialog from "@mui/material/Dialog";
|
||||||
import DialogContent from "@mui/material/DialogContent";
|
import DialogContent from "@mui/material/DialogContent";
|
||||||
import DialogTitle from "@mui/material/DialogTitle";
|
import DialogTitle from "@mui/material/DialogTitle";
|
||||||
@@ -69,6 +70,14 @@ export default function OrganizationHeader(props: OrganizationHeaderParams): Rea
|
|||||||
icon: <ShareOutlinedIcon />,
|
icon: <ShareOutlinedIcon />,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
menu.add({
|
||||||
|
text: "Ver perfil",
|
||||||
|
onClick: () => {
|
||||||
|
goTo(`/landing/org/${props.data.id}`);
|
||||||
|
},
|
||||||
|
icon: <OpenInNewIcon />,
|
||||||
|
});
|
||||||
|
|
||||||
menu.add({
|
menu.add({
|
||||||
text: "Notificaciones",
|
text: "Notificaciones",
|
||||||
onClick: () => {
|
onClick: () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user