From 20fe9a17997d7a2ff2d5537e58973bbe4d975413 Mon Sep 17 00:00:00 2001 From: SUN Date: Tue, 11 Jun 2024 21:11:13 +0800 Subject: [PATCH] [ISSUE #153] Fix the missing of the path Logs in eventmesh-dashboard-view (#154) * rename the logs folder * 1. fixed license header 2. update logs import --------- Co-authored-by: SUN <350916525@qq.com> --- .../src/routes/Routes.tsx | 2 +- .../src/routes/elogs/Logs.tsx | 36 +++++++++++++++++++ 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 eventmesh-dashboard-view/src/routes/elogs/Logs.tsx diff --git a/eventmesh-dashboard-view/src/routes/Routes.tsx b/eventmesh-dashboard-view/src/routes/Routes.tsx index d45927e7..5cf7f7ad 100644 --- a/eventmesh-dashboard-view/src/routes/Routes.tsx +++ b/eventmesh-dashboard-view/src/routes/Routes.tsx @@ -27,7 +27,7 @@ import ClusterConnection from './cluster/connection/Connection' import ClusterMessage from './cluster/message/Message' import ClusterSecurity from './cluster/security/Security' import Users from './users/Users' -import Logs from './logs/Logs' +import Logs from './elogs/Logs' import Settings from './settings/Settings' import Clusters from './cluster/Clusters' diff --git a/eventmesh-dashboard-view/src/routes/elogs/Logs.tsx b/eventmesh-dashboard-view/src/routes/elogs/Logs.tsx new file mode 100644 index 00000000..a7dcf89d --- /dev/null +++ b/eventmesh-dashboard-view/src/routes/elogs/Logs.tsx @@ -0,0 +1,36 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +import React, { forwardRef } from 'react' +import { Box, BoxProps } from '@mui/material' +import Page from '../../components/page/Layout' +import Construction from '../../components/Construction' + +interface LogsProps extends BoxProps {} + +const Logs = forwardRef(({ ...props }, ref) => { + return ( + + + + ) +}) + +Logs.displayName = 'Logs' +export default Logs