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.
2 parents 540c881 + 679c47e commit 7c53a98Copy full SHA for 7c53a98
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