We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a153617 commit 78f89fbCopy full SHA for 78f89fb
kafka-ui-react-app/src/components/Topics/Topic/Messages/Filters/Filters.tsx
@@ -391,11 +391,7 @@ const Filters: React.FC<FiltersProps> = ({
391
// eslint-disable-next-line consistent-return
392
React.useEffect(() => {
393
if (location.search?.length !== 0) {
394
- const params = new URLSearchParams(location.search);
395
-
396
- const url = `${
397
- BASE_PARAMS.basePath
398
- }/api/clusters/${clusterName}/topics/${topicName}/messages?${params.toString()}`;
+ const url = `${BASE_PARAMS.basePath}/api/clusters/${clusterName}/topics/${topicName}/messages${location.search}`;
399
const sse = new EventSource(url);
400
401
source.current = sse;
0 commit comments