diff options
Diffstat (limited to 'app/views/projects/tree/_tree_header.html.haml')
-rw-r--r-- | app/views/projects/tree/_tree_header.html.haml | 2 |
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}} |