mirror of
https://github.com/Unleash/unleash.git
synced 2025-04-10 01:16:39 +02:00
feat: beta indicator for project insights tab (#6686)
This commit is contained in:
parent
c4af2c96e5
commit
df9229a90c
@ -99,6 +99,7 @@ export const Project = () => {
|
|||||||
title: 'Insights',
|
title: 'Insights',
|
||||||
path: `${basePath}/insights`,
|
path: `${basePath}/insights`,
|
||||||
name: 'insights',
|
name: 'insights',
|
||||||
|
new: true,
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
: []),
|
: []),
|
||||||
@ -272,12 +273,12 @@ export const Project = () => {
|
|||||||
tab.isEnterprise ? 'end' : undefined
|
tab.isEnterprise ? 'end' : undefined
|
||||||
}
|
}
|
||||||
icon={
|
icon={
|
||||||
<>
|
<span>
|
||||||
<ConditionallyRender
|
<ConditionallyRender
|
||||||
condition={Boolean(tab.new)}
|
condition={Boolean(tab.new)}
|
||||||
show={
|
show={
|
||||||
<StyledBadge color='success'>
|
<StyledBadge color='success'>
|
||||||
New
|
Beta
|
||||||
</StyledBadge>
|
</StyledBadge>
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
@ -285,7 +286,7 @@ export const Project = () => {
|
|||||||
isPro() &&
|
isPro() &&
|
||||||
enterpriseIcon) ||
|
enterpriseIcon) ||
|
||||||
undefined}
|
undefined}
|
||||||
</>
|
</span>
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user