Skip to content

Commit 7c53a98

Browse files
authored
Merge branch 'master' into documentation-augmentation
2 parents 540c881 + 679c47e commit 7c53a98

File tree

1 file changed

+1
-1
lines changed
  • graylog2-web-interface/src/components/common/PaginatedEntityTable

1 file changed

+1
-1
lines changed

graylog2-web-interface/src/components/common/PaginatedEntityTable/useOnRefresh.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import AutoRefreshContext from 'views/components/contexts/AutoRefreshContext';
2121
const useOnRefresh = (fn: () => void) => {
2222
const context = useContext(AutoRefreshContext);
2323
useEffect(() => {
24-
if (context?.animationId !== null) {
24+
if (context?.animationId !== null && context?.animationId !== undefined) {
2525
fn();
2626
}
2727
}, [context?.animationId, fn]);

0 commit comments

Comments
 (0)