Fix merge request widget polling race condition

What does this MR do and why?

Fixes a race condition in the merge request widget where sometimes the pollInterval would get sent as either undefined or function and cause too many requests.

References

Screenshots or screen recordings

How to set up and validate locally

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading