diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-07-30 12:09:33 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-07-30 12:09:33 +0000 |
commit | 55b5a8778c6f30a0e03059c59a510ff0d6f5b761 (patch) | |
tree | 84f6b549fab3588037626130f7ad1fc432ea0b77 /app/assets/javascripts/repository | |
parent | 491c773c7296a6e989d021c139d1bbce447bf709 (diff) | |
download | gitlab-ce-55b5a8778c6f30a0e03059c59a510ff0d6f5b761.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/repository')
-rw-r--r-- | app/assets/javascripts/repository/components/preview/index.vue | 2 | ||||
-rw-r--r-- | app/assets/javascripts/repository/queries/path_last_commit.query.graphql | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/javascripts/repository/components/preview/index.vue b/app/assets/javascripts/repository/components/preview/index.vue index 7701ebfa9eb..013092ffefd 100644 --- a/app/assets/javascripts/repository/components/preview/index.vue +++ b/app/assets/javascripts/repository/components/preview/index.vue @@ -51,7 +51,7 @@ export default { <div class="js-file-title file-title-flex-parent"> <div class="file-header-content"> <i aria-hidden="true" class="fa fa-file-text-o fa-fw"></i> - <gl-link :href="blob.webUrl"> + <gl-link :href="blob.webPath"> <strong>{{ blob.name }}</strong> </gl-link> </div> diff --git a/app/assets/javascripts/repository/queries/path_last_commit.query.graphql b/app/assets/javascripts/repository/queries/path_last_commit.query.graphql index b1fc5b03ebb..51f3f790a5d 100644 --- a/app/assets/javascripts/repository/queries/path_last_commit.query.graphql +++ b/app/assets/javascripts/repository/queries/path_last_commit.query.graphql @@ -8,14 +8,14 @@ query pathLastCommit($projectPath: ID!, $path: String, $ref: String!) { titleHtml descriptionHtml message - webUrl + webPath authoredDate authorName authorGravatar author { name avatarUrl - webUrl + webPath } signatureHtml pipelines(ref: $ref, first: 1) { |