You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by mi...@apache.org on 2024/06/26 06:50:54 UTC

(incubator-devlake) branch release-v1.0 updated: feat: hide dashboard icon when hiding copyright (#7669) (#7671)

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

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


The following commit(s) were added to refs/heads/release-v1.0 by this push:
     new b59689a4c feat: hide dashboard icon when hiding copyright (#7669) (#7671)
b59689a4c is described below

commit b59689a4c67ee79f367c6ed7a979bab8e73f882c
Author: github-actions[bot] <41...@users.noreply.github.com>
AuthorDate: Wed Jun 26 18:50:49 2024 +1200

    feat: hide dashboard icon when hiding copyright (#7669) (#7671)
    
    Co-authored-by: 青湛 <0x...@gmail.com>
---
 config-ui/src/routes/layout/layout.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config-ui/src/routes/layout/layout.tsx b/config-ui/src/routes/layout/layout.tsx
index e0e124311..adcffc988 100644
--- a/config-ui/src/routes/layout/layout.tsx
+++ b/config-ui/src/routes/layout/layout.tsx
@@ -125,7 +125,7 @@ export const Layout = () => {
         >
           {headerItems
             .filter((item) =>
-              import.meta.env.DEVLAKE_COPYRIGHT_HIDE ? !['GitHub', 'Slack'].includes(item.label) : true,
+              import.meta.env.DEVLAKE_COPYRIGHT_HIDE ? !['Dashboards', 'GitHub', 'Slack'].includes(item.label) : true,
             )
             .map((item, i, arr) => (
               <ExternalLink key={item.label} link={item.link} style={{ display: 'flex', alignItems: 'center' }}>