summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/diffs/components/diff_content.vue
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-05-18 18:10:54 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-05-18 18:10:54 +0000
commit042cd704b8177e7997af4a2ca90967d3178ccc3f (patch)
tree06fec320acf76fbb87df66810cd75fe4e7f2357c /app/assets/javascripts/diffs/components/diff_content.vue
parent346c2ebb5a818524c5d8d95dc6b9fc8c892e3b5c (diff)
downloadgitlab-ce-042cd704b8177e7997af4a2ca90967d3178ccc3f.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/diffs/components/diff_content.vue')
-rw-r--r--app/assets/javascripts/diffs/components/diff_content.vue4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/assets/javascripts/diffs/components/diff_content.vue b/app/assets/javascripts/diffs/components/diff_content.vue
index 663d2bb3cf8..283dbc6031c 100644
--- a/app/assets/javascripts/diffs/components/diff_content.vue
+++ b/app/assets/javascripts/diffs/components/diff_content.vue
@@ -49,9 +49,7 @@ export default {
},
},
computed: {
- ...mapState({
- projectPath: (state) => state.diffs.projectPath,
- }),
+ ...mapState('diffs', ['projectPath']),
...mapGetters('diffs', [
'isInlineView',
'isParallelView',