Commit a5471b02 authored by Takuya Noguchi's avatar Takuya Noguchi

Remove v-html from uninstall_application_confirmation_modal.vue

Signed-off-by: default avatarTakuya Noguchi <takninnovationresearch@gmail.com>
parent 9145f1dd
<script>
/* eslint-disable vue/no-v-html */
import { GlModal } from '@gitlab/ui';
import { GlModal, GlSafeHtmlDirective as SafeHtml } from '@gitlab/ui';
import trackUninstallButtonClickMixin from 'ee_else_ce/clusters/mixins/track_uninstall_button_click';
import { sprintf, s__ } from '~/locale';
import {
......@@ -45,6 +44,9 @@ export default {
components: {
GlModal,
},
directives: {
SafeHtml,
},
mixins: [trackUninstallButtonClickMixin],
props: {
application: {
......@@ -94,6 +96,6 @@ export default {
:title="title"
@ok="confirmUninstall()"
>
{{ warningText }} <span v-html="customAppWarningText"></span>
{{ warningText }} <span v-safe-html="customAppWarningText"></span>
</gl-modal>
</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