We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 994cc85 commit 679c47eCopy full SHA for 679c47e
graylog2-web-interface/src/components/common/PaginatedEntityTable/useOnRefresh.ts
@@ -21,7 +21,7 @@ import AutoRefreshContext from 'views/components/contexts/AutoRefreshContext';
21
const useOnRefresh = (fn: () => void) => {
22
const context = useContext(AutoRefreshContext);
23
useEffect(() => {
24
- if (context?.animationId !== null) {
+ if (context?.animationId !== null && context?.animationId !== undefined) {
25
fn();
26
}
27
}, [context?.animationId, fn]);
0 commit comments