summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/diffs/components/diff_row.vue
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-07-14 09:08:33 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-07-14 09:08:33 +0000
commitc1e7698dff17b737299127ecf484443e676cdd4f (patch)
treed74d96b36db943f4ad072b8604d7c2e34c3ca43d /app/assets/javascripts/diffs/components/diff_row.vue
parentb52c116c9929b21ab71703e50d140fe2c52f99be (diff)
downloadgitlab-ce-c1e7698dff17b737299127ecf484443e676cdd4f.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/diffs/components/diff_row.vue')
-rw-r--r--app/assets/javascripts/diffs/components/diff_row.vue12
1 files changed, 2 insertions, 10 deletions
diff --git a/app/assets/javascripts/diffs/components/diff_row.vue b/app/assets/javascripts/diffs/components/diff_row.vue
index 87af062c535..734f9258c58 100644
--- a/app/assets/javascripts/diffs/components/diff_row.vue
+++ b/app/assets/javascripts/diffs/components/diff_row.vue
@@ -90,21 +90,13 @@ export default {
),
showCodequalityLeft: memoize(
(props) => {
- return (
- window.gon?.features?.codequalityMrDiffAnnotations &&
- props.inline &&
- props.line.left?.codequality?.length > 0
- );
+ return props.inline && props.line.left?.codequality?.length > 0;
},
(props) => [props.inline, props.line.left?.codequality?.length].join(':'),
),
showCodequalityRight: memoize(
(props) => {
- return (
- window.gon?.features?.codequalityMrDiffAnnotations &&
- !props.inline &&
- props.line.right?.codequality?.length > 0
- );
+ return !props.inline && props.line.right?.codequality?.length > 0;
},
(props) => [props.inline, props.line.right?.codequality?.length].join(':'),
),