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> <script>
import { GlSafeHtmlDirective as SafeHtml } from '@gitlab/ui';
import { mapState } from 'vuex'; import { mapState } from 'vuex';
export default { export default {
directives: {
SafeHtml,
},
computed: { computed: {
...mapState(['lastCommitMsg', 'committedStateSvgPath']), ...mapState(['lastCommitMsg', 'committedStateSvgPath']),
}, },
...@@ -16,7 +20,7 @@ export default { ...@@ -16,7 +20,7 @@ export default {
<div class="gl-mr-3 gl-ml-3"> <div class="gl-mr-3 gl-ml-3">
<div class="text-content text-center"> <div class="text-content text-center">
<h4>{{ __('All changes are committed') }}</h4> <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> </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