forked from forgejo/forgejo
Add compare tag dropdown to releases page (#15695)
* Add compare tag dropdown to releases page * Change defaults to be more intuitive and remove unneeded option * Fix to select branch on releases page Co-authored-by: Jonathan Tran <jon@allspice.io> Co-authored-by: Kyle D <kdumontnu@gmail.com>
This commit is contained in:
parent
1b017fe7ca
commit
5e047b9bd7
8 changed files with 78 additions and 36 deletions
|
@ -781,7 +781,8 @@ async function initRepository() {
|
|||
});
|
||||
|
||||
// File list and commits
|
||||
if ($('.repository.file.list').length > 0 || ('.repository.commits').length > 0) {
|
||||
if ($('.repository.file.list').length > 0 ||
|
||||
$('.repository.commits').length > 0 || $('.repository.release').length > 0) {
|
||||
initFilterBranchTagDropdown('.choose.reference .dropdown');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue