Skip to content

Commit d10996e

Browse files
NeiruBugzHaarolean
authored andcommitted
[FE] Messages filtering by offset & timestamp doesn't work (#3582)
(cherry picked from commit 83f9432)
1 parent 8e781e5 commit d10996e

File tree

1 file changed

+5
-1
lines changed
  • kafka-ui-react-app/src/components/Topics/Topic/Messages/Filters

1 file changed

+5
-1
lines changed

kafka-ui-react-app/src/components/Topics/Topic/Messages/Filters/Filters.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,9 +231,13 @@ const Filters: React.FC<FiltersProps> = ({
231231
props.seekType = SeekType.TIMESTAMP;
232232
}
233233

234+
const isSeekTypeWithSeekTo =
235+
props.seekType === SeekType.TIMESTAMP ||
236+
props.seekType === SeekType.OFFSET;
237+
234238
if (
235239
selectedPartitions.length !== partitions.length ||
236-
currentSeekType === SeekType.TIMESTAMP
240+
isSeekTypeWithSeekTo
237241
) {
238242
// not everything in the partition is selected
239243
props.seekTo = selectedPartitions.map(({ value }) => {

0 commit comments

Comments
 (0)