Commit 56a0e576 authored by Ezekiel Kigbo's avatar Ezekiel Kigbo

Merge branch '241918-remove-v-html-from-app-assets-javascripts-clusters-components' into 'master'

Remove v-html from app/assets/javascripts/clusters/components/uninstall_application_confirmation_modal.vue

See merge request gitlab-org/gitlab!41515
parents baaff870 a5471b02
<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