Add conditional for content blocked state api request
What does this MR do and why?
This MR is frontend part of #1183 (closed), adding a conditional so that content blocked component will only request content state api when gon.content_validation_enabled
is true
Screenshots or screen recordings
How to set up and validate locally
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.