1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

feat: beta indicator for project insights tab (#6686)

This commit is contained in:
Mateusz Kwasniewski 2024-03-26 08:55:35 +01:00 committed by GitHub
parent c4af2c96e5
commit df9229a90c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -99,6 +99,7 @@ export const Project = () => {
title: 'Insights',
path: `${basePath}/insights`,
name: 'insights',
new: true,
},
]
: []),
@ -272,12 +273,12 @@ export const Project = () => {
tab.isEnterprise ? 'end' : undefined
}
icon={
<>
<span>
<ConditionallyRender
condition={Boolean(tab.new)}
show={
<StyledBadge color='success'>
New
Beta
</StyledBadge>
}
/>
@ -285,7 +286,7 @@ export const Project = () => {
isPro() &&
enterpriseIcon) ||
undefined}
</>
</span>
}
/>
);