mirror of
https://github.com/Unleash/unleash.git
synced 2025-05-17 01:17:29 +02:00
Hide env metrics when an env has no strategies. (#9620)
Changes the logic in when we display metrics for an env to not showing them unless we have strategies. 
This commit is contained in:
parent
18d1a6c1bc
commit
328c5368ed
@ -105,11 +105,11 @@ export const FeatureOverviewEnvironment = ({
|
||||
variant='outlined'
|
||||
size='small'
|
||||
/>
|
||||
) : null}
|
||||
<FeatureOverviewEnvironmentMetrics
|
||||
environmentMetric={metrics}
|
||||
collapsed={!hasActivations}
|
||||
/>
|
||||
) : (
|
||||
<FeatureOverviewEnvironmentMetrics
|
||||
environmentMetric={metrics}
|
||||
/>
|
||||
)}
|
||||
</EnvironmentHeader>
|
||||
<NewStyledAccordionDetails>
|
||||
<StyledEnvironmentAccordionContainer>
|
||||
|
Loading…
Reference in New Issue
Block a user