Split ee and ce querries for branch rules details
What does this MR do and why?
Splits ee and ce querries for branch rules details to prevent request from failing
Screenshots or screen recordings
After | Before |
---|---|
How to set up and validate locally
- enable :branch_rules FF
Feature.enable(:branch_rules)
in rails c - run gitlab as foss (in gdk folder in the terminal run FOSS_ONLY=1 and restart gdk)
- goto Project>Settings>Repository>Branch Rules, click on details
- Observe that the page is rendered and no errors in console
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.
Related to #387763 (closed)
Edited by Nataliia Radina