summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2019-06-28 14:37:28 +0000
committerFilipa Lacerda <filipa@gitlab.com>2019-06-28 14:37:28 +0000
commitc124e553f33636e434af7e913c6ebb7ffd955e6b (patch)
tree7f6a20cfff988425c07984d1f4ca053881aedd97 /app/views
parentc5da0b86d298c0d9a9f4e167e4ee2fef884bf286 (diff)
parentdf3d9361e505db61de41b8e39516470d50c0e851 (diff)
downloadgitlab-ce-c124e553f33636e434af7e913c6ebb7ffd955e6b.tar.gz
Merge branch 'last-commit-widget-api-call' into 'master'
Use GraphQL API to fetch last commit data See merge request gitlab-org/gitlab-ce!29934
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/_files.html.haml4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/projects/_files.html.haml b/app/views/projects/_files.html.haml
index 2b0c3985755..6763513f9ae 100644
--- a/app/views/projects/_files.html.haml
+++ b/app/views/projects/_files.html.haml
@@ -9,7 +9,9 @@
.nav-block
= render 'projects/tree/tree_header', tree: @tree
- - if commit
+ - if vue_file_list_enabled?
+ #js-last-commit
+ - elsif commit
= render 'shared/commit_well', commit: commit, ref: ref, project: project
- if is_project_overview