This is an automated email from the ASF dual-hosted git repository.

mintsweet pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


The following commit(s) were added to refs/heads/main by this push:
     new 6122a7ceb refactor: no need to hardcode dashboard url (#6437)
6122a7ceb is described below

commit 6122a7ceb8c13f8efd7d98e0a8a4080c8b197abb
Author: Klesh Wong <[email protected]>
AuthorDate: Fri Nov 10 16:29:30 2023 +0800

    refactor: no need to hardcode dashboard url (#6437)
---
 config-ui/src/routes/layout/layout.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/config-ui/src/routes/layout/layout.tsx 
b/config-ui/src/routes/layout/layout.tsx
index d1b2bbc39..eb1bb0a61 100644
--- a/config-ui/src/routes/layout/layout.tsx
+++ b/config-ui/src/routes/layout/layout.tsx
@@ -72,7 +72,7 @@ export const Layout = () => {
   };
 
   const getGrafanaUrl = () => {
-    const suffix = '/d/lCO8w-pVk/homepage?orgId=1';
+    const suffix = '/';
     const { protocol, hostname } = window.location;
 
     return import.meta.env.DEV ? `${protocol}//${hostname}:3002${suffix}` : 
`/grafana${suffix}`;
@@ -83,7 +83,7 @@ export const Layout = () => {
       <TipsContextConsumer>
         {({ tips, setTips }) => (
           <S.Wrapper>
-            <S.Sider>
+            <S.Sider style={{userSelect: 'none'}}>
               <Logo />
               <Menu className="menu">
                 {menu.map((it) => {

Reply via email to