Commit 8ec7600f authored by Kev's avatar Kev

Replace v-html with v-safe-html in note_signed_out_widget_spec.js

parent 4e0d6868
<script>
/* eslint-disable vue/no-v-html */
import { GlSafeHtmlDirective as SafeHtml } from '@gitlab/ui';
import { mapGetters } from 'vuex';
import { __, sprintf } from '~/locale';
export default {
directives: {
SafeHtml,
},
computed: {
...mapGetters(['getNotesDataByProp']),
registerLink() {
......@@ -31,5 +34,5 @@ export default {
</script>
<template>
<div class="disabled-comment text-center" v-html="signedOutText"></div>
<div v-safe-html="signedOutText" class="disabled-comment text-center"></div>
</template>
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