Checklist:
Describe the bug
If git account is disabled from global configuration, then Git repository page shows "We encountered an error"
To Reproduce
- Have only 1 Git Account Added in Git accounts section
- Create a new app
- Move to App Configuration > Git Repository
Expected behavior
Error shouldn't be there, but I shouldn't be able to select any Git account from dropdown
OR
A message should be displayed to enable at least 1 Git Account first
Current behavior
It just crashes with We encountered an error