Skip to content

Commit

Permalink
TemplatePage: Fix WIP menu
Browse files Browse the repository at this point in the history
  • Loading branch information
jlandowner committed Jul 1, 2024
1 parent 1921979 commit 8420cda
Showing 1 changed file with 3 additions and 29 deletions.
32 changes: 3 additions & 29 deletions web/dashboard-ui/src/views/pages/TemplatePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import {
DescriptionOutlined,
Edit,
MoreVert,
OpenInNewTwoTone,
RefreshTwoTone,
} from "@mui/icons-material";
import {
Expand Down Expand Up @@ -32,6 +31,7 @@ import {
GridRenderCellParams,
gridClasses,
} from "@mui/x-data-grid";
import { enqueueSnackbar } from "notistack";
import React, { useEffect, useState } from "react";
import { useLogin } from "../../components/LoginProvider";
import { Template } from "../../proto/gen/dashboard/v1alpha1/template_pb";
Expand Down Expand Up @@ -70,39 +70,13 @@ const TemplateMenu: React.VFC<{ template: Template }> = ({ template }) => {
>
<MenuItem
onClick={() => {
// window.open(`/#/event?user=${us.name}`);
}}
>
<ListItemIcon>
<DescriptionOutlined fontSize="small" />
</ListItemIcon>
<ListItemText>
Show Live Manifest...
{
<OpenInNewTwoTone
fontSize="inherit"
sx={{ position: "relative", top: "0.2em" }}
/>
}
</ListItemText>
</MenuItem>
<MenuItem
onClick={() => {
// window.open(`/#workspace?user=${us.name}`);
enqueueSnackbar({ message: "Coming soon!", variant: "info" });
}}
>
<ListItemIcon>
<Edit fontSize="small" />
</ListItemIcon>
<ListItemText>
Edit...
{
<OpenInNewTwoTone
fontSize="inherit"
sx={{ position: "relative", top: "0.2em" }}
/>
}
</ListItemText>
<ListItemText>Edit...</ListItemText>
</MenuItem>
</Menu>
</Box>
Expand Down

0 comments on commit 8420cda

Please sign in to comment.