Skip to content

Commit

Permalink
feat: hide dashboard icon when hiding copyright (#7669) (#7671)
Browse files Browse the repository at this point in the history
Co-authored-by: 青湛 <[email protected]>
  • Loading branch information
github-actions[bot] and mintsweet authored Jun 26, 2024
1 parent 2e07df3 commit b59689a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config-ui/src/routes/layout/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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' }}>
Expand Down

0 comments on commit b59689a

Please sign in to comment.