Correct target_switcher conditional

This commit is contained in:
Luke "Jared" Bennett 2017-07-31 23:36:07 +01:00
parent 3dd0c252e5
commit c92220a8b6
No known key found for this signature in database
GPG key ID: 402ED51FB5D306C2

View file

@ -1,7 +1,7 @@
.tree-ref-container .tree-ref-container
.tree-ref-holder .tree-ref-holder
= render 'shared/ref_switcher', destination: 'tree', path: @path = render 'shared/ref_switcher', destination: 'tree', path: @path
- if !show_new_repo? - if show_new_repo?
=icon('long-arrow-right', title: 'to target branch') =icon('long-arrow-right', title: 'to target branch')
= render 'shared/target_switcher', destination: 'tree', path: @path = render 'shared/target_switcher', destination: 'tree', path: @path