Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If there is just one repository, always use it as defaultRepository
Beyond making "branches" and filter part of "home" pages more convenient to use for newly setup single repository Critic instances, this also makes behavior consistent with what "Config" displays for such an instance. Although the user had no preference recorded for a newly installed instance, the "Config" page was populating the defaultRepository dropdown with a single item representing the only existing repository so for the user it looked like they had the "Config" properly setup. Just hitting "Save" without changing anything did indeed set the only repository as defaultRepository, but such a click should not be necessary ofc.
- Loading branch information