mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-01 13:47:27 +02:00
remove filters from new header
This commit is contained in:
parent
2c63d77631
commit
07b64fbb88
@ -57,18 +57,21 @@ export const Insights: FC<InsightsProps> = ({ withCharts = true }) => {
|
|||||||
|
|
||||||
const insightsData = useInsightsData(insights, projects);
|
const insightsData = useInsightsData(insights, projects);
|
||||||
|
|
||||||
const header = (
|
|
||||||
<InsightsHeader
|
|
||||||
actions={<InsightsFilters state={state} onChange={setState} />}
|
|
||||||
/>
|
|
||||||
);
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<StyledWrapper>
|
<StyledWrapper>
|
||||||
{useStickyPageHeader ? (
|
{useStickyPageHeader ? (
|
||||||
<StickyContainer>{header}</StickyContainer>
|
<StickyContainer>
|
||||||
|
<InsightsHeader
|
||||||
|
actions={
|
||||||
|
<InsightsFilters
|
||||||
|
state={state}
|
||||||
|
onChange={setState}
|
||||||
|
/>
|
||||||
|
}
|
||||||
|
/>
|
||||||
|
</StickyContainer>
|
||||||
) : (
|
) : (
|
||||||
header
|
<InsightsHeader />
|
||||||
)}
|
)}
|
||||||
{withCharts && (
|
{withCharts && (
|
||||||
<InsightsCharts
|
<InsightsCharts
|
||||||
|
Loading…
Reference in New Issue
Block a user