diff --git a/assets/js/dashboard/nav-menu/filter-menu.tsx b/assets/js/dashboard/nav-menu/filter-menu.tsx index 2f157fc33252..b095dae449ec 100644 --- a/assets/js/dashboard/nav-menu/filter-menu.tsx +++ b/assets/js/dashboard/nav-menu/filter-menu.tsx @@ -39,6 +39,7 @@ import { import { useMutation, useQueryClient } from '@tanstack/react-query' import { useAppNavigate } from '../navigation/use-app-navigate' import { DashboardQuery } from '../query' +import { AdjustmentsHorizontalIcon } from '@heroicons/react/24/solid' export function getFilterListItems({ propsAvailable @@ -315,10 +316,21 @@ export const FilterMenu = () => { }} onClick={() => setOpened((opened) => !opened)} currentOption={ - - - Filter - +
+ {!expandedSegment && ( + <> + + Filter + + )} + {!!expandedSegment && ( + <> + + Segment + + )} + {/* {expandedSegment ? 'Segment' : 'Filter'} */} +
} > {opened && (