#5055 Allow people with a fork to have a working drop-down for opening new PRs
Merged by pingou. Opened by pingou.
open_pr_js  into  master

Download 5055.patch

Basically, the drop-down for opening new PR from the main page of a
main project was conditioned on having commit right on that main
project. However, if you have a fork and no access to the main
project, the drop-down was not returning.
Now, we're checking if you have access to the main project or if
you have a fork and in either case the JS ensuring the drop-down
will populate fine.

Fixes https://pagure.io/fedora-infrastructure/issue/9497

Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr

1 new commit added

  • Drop the spinner from the drop-down menu if the user is not a committer

:thumbsup:

Thanks for the review! :)

Pull-Request has been merged by pingou

Metadata