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