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>2022-07-27 12:08:34 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-07-27 12:08:34 +0300
commitd0a683e342c9e59bec8bb83879f0fc959b79224e (patch)
treefac5bd8be0faee2016b6ad67c25206ccf42c3447 /app/assets/javascripts/integrations
parent0ab741639e9d9a83833661925167a98d96751135 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/integrations')
-rw-r--r--app/assets/javascripts/integrations/edit/components/dynamic_field.vue7
-rw-r--r--app/assets/javascripts/integrations/edit/components/integration_form.vue6
2 files changed, 3 insertions, 10 deletions
diff --git a/app/assets/javascripts/integrations/edit/components/dynamic_field.vue b/app/assets/javascripts/integrations/edit/components/dynamic_field.vue
index b4ceec22822..fe687ea9767 100644
--- a/app/assets/javascripts/integrations/edit/components/dynamic_field.vue
+++ b/app/assets/javascripts/integrations/edit/components/dynamic_field.vue
@@ -133,9 +133,6 @@ export default {
this.model = null;
}
},
- helpHtmlConfig: {
- ADD_ATTR: ['target'], // allow external links, can be removed after https://gitlab.com/gitlab-org/gitlab-ui/-/issues/1427 is implemented
- },
};
</script>
@@ -147,7 +144,7 @@ export default {
:state="valid"
>
<template v-if="!isCheckbox" #description>
- <span v-safe-html:[$options.helpHtmlConfig]="help"></span>
+ <span v-safe-html="help"></span>
</template>
<template v-if="isCheckbox">
@@ -155,7 +152,7 @@ export default {
<gl-form-checkbox :id="fieldId" v-model="model" :disabled="isInheriting">
{{ checkboxLabel || humanizedTitle }}
<template #help>
- <span v-safe-html:[$options.helpHtmlConfig]="help"></span>
+ <span v-safe-html="help"></span>
</template>
</gl-form-checkbox>
</template>
diff --git a/app/assets/javascripts/integrations/edit/components/integration_form.vue b/app/assets/javascripts/integrations/edit/components/integration_form.vue
index f1f574c6424..7a6f1a953a8 100644
--- a/app/assets/javascripts/integrations/edit/components/integration_form.vue
+++ b/app/assets/javascripts/integrations/edit/components/integration_form.vue
@@ -192,11 +192,7 @@ export default {
this.integrationActive = integrationActive;
},
},
- descriptionHtmlConfig: {
- ADD_ATTR: ['target'], // allow external links, can be removed after https://gitlab.com/gitlab-org/gitlab-ui/-/issues/1427 is implemented
- },
helpHtmlConfig: {
- ADD_ATTR: ['target'], // allow external links, can be removed after https://gitlab.com/gitlab-org/gitlab-ui/-/issues/1427 is implemented
ADD_TAGS: ['use'], // to support icon SVGs
FORBID_ATTR: [], // This is trusted input so we can override the default config to allow data-* attributes
},
@@ -254,7 +250,7 @@ export default {
{{ $options.billingPlanNames[section.plan] }}
</gl-badge>
</h4>
- <p v-safe-html:[$options.descriptionHtmlConfig]="section.description"></p>
+ <p v-safe-html="section.description"></p>
</div>
<div class="col-lg-8">