From 8420cdaa0fe4bc741bbf7da6f81c006fb82b5789 Mon Sep 17 00:00:00 2001 From: jlandowner Date: Tue, 2 Jul 2024 00:37:21 +0900 Subject: [PATCH] TemplatePage: Fix WIP menu --- .../src/views/pages/TemplatePage.tsx | 32 ++----------------- 1 file changed, 3 insertions(+), 29 deletions(-) diff --git a/web/dashboard-ui/src/views/pages/TemplatePage.tsx b/web/dashboard-ui/src/views/pages/TemplatePage.tsx index 6868cf83..cc059ea4 100644 --- a/web/dashboard-ui/src/views/pages/TemplatePage.tsx +++ b/web/dashboard-ui/src/views/pages/TemplatePage.tsx @@ -4,7 +4,6 @@ import { DescriptionOutlined, Edit, MoreVert, - OpenInNewTwoTone, RefreshTwoTone, } from "@mui/icons-material"; import { @@ -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"; @@ -70,39 +70,13 @@ const TemplateMenu: React.VFC<{ template: Template }> = ({ template }) => { > { - // window.open(`/#/event?user=${us.name}`); - }} - > - - - - - Show Live Manifest... - { - - } - - - { - // window.open(`/#workspace?user=${us.name}`); + enqueueSnackbar({ message: "Coming soon!", variant: "info" }); }} > - - Edit... - { - - } - + Edit...