Commit b2d6be7a authored by Natalia Tepluhina's avatar Natalia Tepluhina

Merge branch 'imrishabh18-#241873' into 'master'

Remove v-html from WebIDE commit success message

See merge request gitlab-org/gitlab!70841
parents 79b35030 ba893c26
<script>
import { GlSafeHtmlDirective as SafeHtml } from '@gitlab/ui';
import { mapState } from 'vuex';
export default {
directives: {
SafeHtml,
},
computed: {
...mapState(['lastCommitMsg', 'committedStateSvgPath']),
},
......@@ -16,7 +20,7 @@ export default {
<div class="gl-mr-3 gl-ml-3">
<div class="text-content text-center">
<h4>{{ __('All changes are committed') }}</h4>
<p v-html="lastCommitMsg /* eslint-disable-line vue/no-v-html */"></p>
<p v-safe-html="lastCommitMsg"></p>
</div>
</div>
</div>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment