Don't load merge requests in Web IDE for repositories with merge requests disabled

When the user opens the Web IDE for a repository where merge requests are disabled, the following errors are popping up:

  1. Error fetching merge requests from master popping up as soon as the user opens the Web IDE
  2. Error loading merge requests. Please try again popping up when the user opens the Branch / Merge request dropdown

Web_IDE_MR_disabled

Assignee Loading
Time tracking Loading