summaryrefslogtreecommitdiff
path: root/app/views/projects/tree/_tree_header.html.haml
diff options
context:
space:
mode:
authorJacob Schatz <jschatz1@gmail.com>2017-07-25 09:18:45 -0400
committerJacob Schatz <jschatz1@gmail.com>2017-07-25 09:18:45 -0400
commit40fd91b876b6a5e3ad79fac60398d1b60d8fb735 (patch)
treeffd9c4f87ab374a45928f027b3eb7b2e4cbea258 /app/views/projects/tree/_tree_header.html.haml
parentfbacfdb0f0f484cac57b1c5a85f19ef141370c7c (diff)
downloadgitlab-ce-40fd91b876b6a5e3ad79fac60398d1b60d8fb735.tar.gz
Fixes height problems
Diffstat (limited to 'app/views/projects/tree/_tree_header.html.haml')
-rw-r--r--app/views/projects/tree/_tree_header.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/tree/_tree_header.html.haml b/app/views/projects/tree/_tree_header.html.haml
index 970ccbb743d..e28e88921b6 100644
--- a/app/views/projects/tree/_tree_header.html.haml
+++ b/app/views/projects/tree/_tree_header.html.haml
@@ -3,7 +3,7 @@
= render 'shared/ref_switcher', destination: 'tree', path: @path
.tree-controls
- %a.btn.btn-default#editable-mode{ "href"=>"#", "@click.prevent" => "editClicked", "v-cloak" => 1 }
+ %a.btn.btn-default#editable-mode{ "href"=>"#", "@click.prevent" => "editClicked", "v-cloak" => 1, "v-if" => "isCommitable" }
%i{ ":class" => "buttonIcon" }
%span {{buttonLabel}}