diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-08 18:18:11 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-08 18:18:11 +0300 |
commit | dcc56fe601580b5d8f6c3da32550c6523f2baff3 (patch) | |
tree | f68c28bf7c8715de7242464b344620ae5c394036 /app/assets/javascripts/repository | |
parent | 571b02efc9442e73538c3438eb593a83d7807779 (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_content_viewer.vue | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/app/assets/javascripts/repository/components/blob_content_viewer.vue b/app/assets/javascripts/repository/components/blob_content_viewer.vue index 2eeff48dcf9..2878d4324c8 100644 --- a/app/assets/javascripts/repository/components/blob_content_viewer.vue +++ b/app/assets/javascripts/repository/components/blob_content_viewer.vue @@ -144,9 +144,6 @@ export default { }; }, computed: { - shouldRenderGenie() { - return this.explainCodeAvailable && this.viewer?.fileType === TEXT_FILE_TYPE; - }, isLoggedIn() { return isLoggedIn(); }, @@ -399,7 +396,7 @@ export default { /> </div> <ai-genie - v-if="shouldRenderGenie" + v-if="explainCodeAvailable" container-id="fileHolder" :file-path="path" class="gl-ml-7" |