[FE] Messages filtering by offset & timestamp doesn't work (#3582)

(cherry picked from commit 83f9432569)
This commit is contained in:
Nail Badiullin 2023-04-10 13:08:26 +04:00 committed by Roman Zabaluev
parent 8e781e5d80
commit d10996ed60

View file

@ -231,9 +231,13 @@ const Filters: React.FC<FiltersProps> = ({
props.seekType = SeekType.TIMESTAMP;
}
const isSeekTypeWithSeekTo =
props.seekType === SeekType.TIMESTAMP ||
props.seekType === SeekType.OFFSET;
if (
selectedPartitions.length !== partitions.length ||
currentSeekType === SeekType.TIMESTAMP
isSeekTypeWithSeekTo
) {
// not everything in the partition is selected
props.seekTo = selectedPartitions.map(({ value }) => {