• Sean McGivern's avatar
    Hide squash checkbox when there is a single commit · 12c6b641
    Sean McGivern authored
    When there is only one commit, the squash checkbox doesn't do
    anything. When a commit is added after the widget is loaded, the MR
    can't be merged anyway - you have to refresh the page. So we can only
    show the checkbox on page load if there's more than one commit.
    12c6b641
squash_spec.rb 3.57 KB