@@ -24,6 +24,7 @@ import CloseIcon from 'components/common/Icons/CloseIcon';
2424import FlexBox from 'components/common/FlexBox/FlexBox' ;
2525import { useMessageFiltersStore } from 'lib/hooks/useMessageFiltersStore' ;
2626import useDataSaver from 'lib/hooks/useDataSaver' ;
27+ import ExportIcon from 'components/common/Icons/ExportIcon'
2728
2829import * as S from './Filters.styled' ;
2930import {
@@ -88,7 +89,7 @@ const Filters: React.FC<FiltersProps> = ({
8889 smartFilter,
8990 setSmartFilter,
9091 refreshData,
91- } = useMessagesFilters ( topicName ) ;
92+ } = useMessagesFilters ( ) ;
9293
9394 const { data : topic } = useTopicDetails ( { clusterName, topicName } ) ;
9495 const [ createdEditedSmartId , setCreatedEditedSmartId ] = useState < string > ( ) ;
@@ -108,7 +109,7 @@ const Filters: React.FC<FiltersProps> = ({
108109
109110 const savedMessagesJson : MessageData [ ] = messages . map (
110111 ( message : TopicMessage ) => ( {
111- Value : message . value ,
112+ Value : message . content ,
112113 Offset : message . offset ,
113114 Key : message . key ,
114115 Partition : message . partition ,
@@ -300,15 +301,7 @@ const Filters: React.FC<FiltersProps> = ({
300301 justifyContent : 'center' ,
301302 } }
302303 >
303- < svg
304- width = "24"
305- height = "24"
306- viewBox = "0 0 18 18"
307- fill = "currentColor"
308- >
309- < path d = "M4.24 5.8a.75.75 0 001.06-.04l1.95-2.1v6.59a.75.75 0 001.5 0V3.66l1.95 2.1a.75.75 0 101.1-1.02l-3.25-3.5a.75.75 0 00-1.101.001L4.2 4.74a.75.75 0 00.04 1.06z" />
310- < path d = "M1.75 9a.75.75 0 01.75.75v3c0 .414.336.75.75.75h9.5a.75.75 0 00.75-.75v-3a.75.75 0 011.5 0v3A2.25 2.25 0 0112.75 15h-9.5A2.25 2.25 0 011 12.75v-3A.75.75 0 011.75 9z" />
311- </ svg > { ' ' }
304+ < ExportIcon />
312305 Export
313306 </ Button >
314307 { showFormatSelector && (
0 commit comments