diff --git a/client/src/components/Logs/InfiniteTable.js b/client/src/components/Logs/InfiniteTable.js
index d419ac3d..36f411c8 100644
--- a/client/src/components/Logs/InfiniteTable.js
+++ b/client/src/components/Logs/InfiniteTable.js
@@ -43,7 +43,7 @@ const InfiniteTable = ({
useEffect(() => {
listener();
- }, [items.length < QUERY_LOGS_PAGE_LIMIT]);
+ }, [items.length < QUERY_LOGS_PAGE_LIMIT, isEntireLog]);
useEffect(() => {
const THROTTLE_TIME = 100;
@@ -66,15 +66,24 @@ const InfiniteTable = ({
const isNothingFound = items.length === 0 && !processingGetLogs;
- return
- {loading &&
}
-
- {isNothingFound
- ?
- : <>{items.map(renderRow)}
- {!isEntireLog &&
{t('loading_table_status')}
}
- >}
-
;
+ return (
+
+ {loading &&
}
+
+ {isNothingFound ? (
+
+ ) : (
+ <>
+ {items.map(renderRow)}
+ {!isEntireLog && (
+
+ {t('loading_table_status')}
+
+ )}
+ >
+ )}
+
+ );
};
InfiniteTable.propTypes = {
diff --git a/client/src/helpers/helpers.js b/client/src/helpers/helpers.js
index 5fb42c05..a7bf9485 100644
--- a/client/src/helpers/helpers.js
+++ b/client/src/helpers/helpers.js
@@ -693,8 +693,8 @@ export const replaceZeroWithEmptyString = (value) => (parseInt(value, 10) === 0
* @returns {string}
*/
export const getLogsUrlParams = (search, response_status) => `?${queryString.stringify({
- search,
- response_status,
+ search: search || undefined,
+ response_status: response_status || undefined,
})}`;
export const processContent = (