diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-24 09:08:51 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-24 09:08:51 +0000 |
commit | 38149afcf95e7669a7a99828c579d185b70c04dc (patch) | |
tree | 3a90504bd926407c0cc60f44e20dba08217b928b /app/assets/javascripts/diffs/components/no_changes.vue | |
parent | be660fe1d28a65ad61be24c71e66ae90f6488dc4 (diff) | |
download | gitlab-ce-38149afcf95e7669a7a99828c579d185b70c04dc.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/diffs/components/no_changes.vue')
-rw-r--r-- | app/assets/javascripts/diffs/components/no_changes.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/javascripts/diffs/components/no_changes.vue b/app/assets/javascripts/diffs/components/no_changes.vue index 47e9627a957..09cb542c3dc 100644 --- a/app/assets/javascripts/diffs/components/no_changes.vue +++ b/app/assets/javascripts/diffs/components/no_changes.vue @@ -1,6 +1,6 @@ <script> import { mapGetters } from 'vuex'; -import _ from 'underscore'; +import { escape as esc } from 'lodash'; import { GlButton } from '@gitlab/ui'; import { __, sprintf } from '~/locale'; @@ -24,8 +24,8 @@ export default { { ref_start: '<span class="ref-name">', ref_end: '</span>', - source_branch: _.escape(this.getNoteableData.source_branch), - target_branch: _.escape(this.getNoteableData.target_branch), + source_branch: esc(this.getNoteableData.source_branch), + target_branch: esc(this.getNoteableData.target_branch), }, false, ); |