diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-08 21:16:03 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-08 21:16:03 +0300 |
commit | e3bd590af430a430dcbcdd25751c46bbd1ecf56c (patch) | |
tree | 328bb248b90ec25f0f2274658b67ef059777df51 /app/assets/javascripts/repository | |
parent | 6225d57e55eaa0205e939e7ed6577636b0ee47cf (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/repository')
-rw-r--r-- | app/assets/javascripts/repository/components/blob_viewers/index.js | 2 | ||||
-rw-r--r-- | app/assets/javascripts/repository/queries/blob_info.query.graphql | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/repository/components/blob_viewers/index.js b/app/assets/javascripts/repository/components/blob_viewers/index.js index daa11802cc5..e942f59e7d8 100644 --- a/app/assets/javascripts/repository/components/blob_viewers/index.js +++ b/app/assets/javascripts/repository/components/blob_viewers/index.js @@ -3,7 +3,7 @@ const viewers = { image: () => import('./image_viewer.vue'), video: () => import('./video_viewer.vue'), empty: () => import('./empty_viewer.vue'), - text: () => import('~/vue_shared/components/source_viewer.vue'), + text: () => import('~/vue_shared/components/source_viewer/source_viewer.vue'), pdf: () => import('./pdf_viewer.vue'), lfs: () => import('./lfs_viewer.vue'), }; diff --git a/app/assets/javascripts/repository/queries/blob_info.query.graphql b/app/assets/javascripts/repository/queries/blob_info.query.graphql index aeba84d481d..91b5ff9ccf1 100644 --- a/app/assets/javascripts/repository/queries/blob_info.query.graphql +++ b/app/assets/javascripts/repository/queries/blob_info.query.graphql @@ -20,6 +20,7 @@ query getBlobInfo($projectPath: ID!, $filePath: String!, $ref: String!) { rawSize rawTextBlob fileType + language path editBlobPath ideEditPath |