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-09-29 21:09:52 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-09-29 21:09:52 +0300
commit5c2377d19572bdaaa6026fa6be131c3649074b36 (patch)
tree04acff23fd41360701c29c8694d24e587bc7ac5a /app/assets/javascripts/ci_variable_list
parent20fda899a62cc27a4d40a168640e7e926c69eb62 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/ci_variable_list')
-rw-r--r--app/assets/javascripts/ci_variable_list/components/ci_variable_modal.vue16
1 files changed, 0 insertions, 16 deletions
diff --git a/app/assets/javascripts/ci_variable_list/components/ci_variable_modal.vue b/app/assets/javascripts/ci_variable_list/components/ci_variable_modal.vue
index fbf19847e9d..a2f4bea2f61 100644
--- a/app/assets/javascripts/ci_variable_list/components/ci_variable_modal.vue
+++ b/app/assets/javascripts/ci_variable_list/components/ci_variable_modal.vue
@@ -6,7 +6,6 @@ import {
GlFormCheckbox,
GlFormCombobox,
GlFormGroup,
- GlFormInput,
GlFormSelect,
GlFormTextarea,
GlIcon,
@@ -41,7 +40,6 @@ export default {
GlFormCheckbox,
GlFormCombobox,
GlFormGroup,
- GlFormInput,
GlFormSelect,
GlFormTextarea,
GlIcon,
@@ -122,11 +120,6 @@ export default {
return '';
},
tokenValidationState() {
- // If the feature flag is off, do not validate. Remove when flag is removed.
- if (!this.glFeatures.ciKeyAutocomplete) {
- return true;
- }
-
const validator = this.$options.tokens?.[this.variable.key]?.validation;
if (validator) {
@@ -204,21 +197,12 @@ export default {
>
<form>
<gl-form-combobox
- v-if="glFeatures.ciKeyAutocomplete"
v-model="key"
:token-list="$options.tokenList"
:label-text="__('Key')"
data-qa-selector="ci_variable_key_field"
/>
- <gl-form-group v-else :label="__('Key')" label-for="ci-variable-key">
- <gl-form-input
- id="ci-variable-key"
- v-model="key"
- data-qa-selector="ci_variable_key_field"
- />
- </gl-form-group>
-
<gl-form-group
:label="__('Value')"
label-for="ci-variable-value"