diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-05-19 18:44:42 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-05-19 18:44:42 +0300 |
commit | 4555e1b21c365ed8303ffb7a3325d773c9b8bf31 (patch) | |
tree | 5423a1c7516cffe36384133ade12572cf709398d /app/assets/javascripts/registry/settings/components/expiration_run_text.vue | |
parent | e570267f2f6b326480d284e0164a6464ba4081bc (diff) |
Add latest changes from gitlab-org/gitlab@13-12-stable-eev13.12.0-rc42
Diffstat (limited to 'app/assets/javascripts/registry/settings/components/expiration_run_text.vue')
-rw-r--r-- | app/assets/javascripts/registry/settings/components/expiration_run_text.vue | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/app/assets/javascripts/registry/settings/components/expiration_run_text.vue b/app/assets/javascripts/registry/settings/components/expiration_run_text.vue deleted file mode 100644 index fd9ca6a54c5..00000000000 --- a/app/assets/javascripts/registry/settings/components/expiration_run_text.vue +++ /dev/null @@ -1,46 +0,0 @@ -<script> -import { GlFormGroup, GlFormInput } from '@gitlab/ui'; -import { NEXT_CLEANUP_LABEL, NOT_SCHEDULED_POLICY_TEXT } from '~/registry/settings/constants'; - -export default { - components: { - GlFormGroup, - GlFormInput, - }, - props: { - value: { - type: String, - required: false, - default: NOT_SCHEDULED_POLICY_TEXT, - }, - enabled: { - type: Boolean, - required: false, - default: false, - }, - }, - computed: { - parsedValue() { - return this.enabled ? this.value : NOT_SCHEDULED_POLICY_TEXT; - }, - }, - i18n: { - NEXT_CLEANUP_LABEL, - }, -}; -</script> - -<template> - <gl-form-group - id="expiration-policy-info-text-group" - :label="$options.i18n.NEXT_CLEANUP_LABEL" - label-for="expiration-policy-info-text" - > - <gl-form-input - id="expiration-policy-info-text" - class="gl-pl-0!" - plaintext - :value="parsedValue" - /> - </gl-form-group> -</template> |