Commit ba893c26 authored by Rishabh Gupta's avatar Rishabh Gupta Committed by Natalia Tepluhina

Remove v-html from WebIDE commit success message

parent 933c35c6
<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