Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-10-21 10:08:36 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-10-21 10:08:36 +0300
commit48aff82709769b098321c738f3444b9bdaa694c6 (patch)
treee00c7c43e2d9b603a5a6af576b1685e400410dee /app/assets/javascripts/clusters/components/uninstall_application_confirmation_modal.vue
parent879f5329ee916a948223f8f43d77fba4da6cd028 (diff)
Add latest changes from gitlab-org/gitlab@13-5-stable-eev13.5.0-rc42
Diffstat (limited to 'app/assets/javascripts/clusters/components/uninstall_application_confirmation_modal.vue')
-rw-r--r--app/assets/javascripts/clusters/components/uninstall_application_confirmation_modal.vue8
1 files changed, 5 insertions, 3 deletions
diff --git a/app/assets/javascripts/clusters/components/uninstall_application_confirmation_modal.vue b/app/assets/javascripts/clusters/components/uninstall_application_confirmation_modal.vue
index f82f4dd5012..477dd13db4f 100644
--- a/app/assets/javascripts/clusters/components/uninstall_application_confirmation_modal.vue
+++ b/app/assets/javascripts/clusters/components/uninstall_application_confirmation_modal.vue
@@ -1,6 +1,5 @@
<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>