This is an automated email from the ASF dual-hosted git repository. mintsweet pushed a commit to branch feat-dashboard-icon-hide in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
commit b72dff5e2325b203ec71ed3d5b5130907d064b6a Author: mintsweet <[email protected]> AuthorDate: Wed Jun 26 18:33:53 2024 +1200 feat: hide dashboard icon when hiding copyright --- 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' }}>
