File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
kafka-ui-react-app/src/components/Topics/Details/Messages Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ const Messages: React.FC<Props> = ({
6262 const [ selectedSeekType , setSelectedSeekType ] = React . useState < SeekType > (
6363 SeekType . OFFSET
6464 ) ;
65- const [ searchOffset , setSearchOffset ] = React . useState < string > ( '0' ) ;
65+ const [ searchOffset , setSearchOffset ] = React . useState < string > ( ) ;
6666 const [ selectedPartitions , setSelectedPartitions ] = React . useState < Option [ ] > (
6767 partitions . map ( ( p ) => ( {
6868 value : p . partition ,
@@ -219,12 +219,11 @@ const Messages: React.FC<Props> = ({
219219 )
220220 . map ( ( p ) => `${ p . partition } ::${ p . offset } ` ) ;
221221
222- setQueryParams ( {
222+ fetchTopicMessages ( clusterName , topicName , {
223223 ...queryParams ,
224224 seekType : SeekType . OFFSET ,
225225 seekTo,
226226 } ) ;
227- fetchTopicMessages ( clusterName , topicName , queryParams ) ;
228227 } ;
229228
230229 const filterOptions = ( options : Option [ ] , filter : any ) => {
You can’t perform that action at this time.
0 commit comments