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:
Diffstat (limited to 'app/assets/javascripts/vue_shared/components/runner_instructions/runner_instructions_modal.vue')
-rw-r--r--app/assets/javascripts/vue_shared/components/runner_instructions/runner_instructions_modal.vue15
1 files changed, 1 insertions, 14 deletions
diff --git a/app/assets/javascripts/vue_shared/components/runner_instructions/runner_instructions_modal.vue b/app/assets/javascripts/vue_shared/components/runner_instructions/runner_instructions_modal.vue
index 94aa7bd2f88..3b5086b3c7e 100644
--- a/app/assets/javascripts/vue_shared/components/runner_instructions/runner_instructions_modal.vue
+++ b/app/assets/javascripts/vue_shared/components/runner_instructions/runner_instructions_modal.vue
@@ -122,14 +122,6 @@ export default {
return null;
}
},
- showDeprecationAlert() {
- return (
- // create_runner_workflow_for_admin
- this.glFeatures.createRunnerWorkflowForAdmin ||
- // create_runner_workflow_for_namespace
- this.glFeatures.createRunnerWorkflowForNamespace
- );
- },
},
updated() {
// Refocus on dom changes, after loading data
@@ -200,12 +192,7 @@ export default {
v-on="$listeners"
@shown="onShown"
>
- <gl-alert
- v-if="showDeprecationAlert"
- :title="$options.i18n.deprecationAlertTitle"
- variant="warning"
- :dismissible="false"
- >
+ <gl-alert :title="$options.i18n.deprecationAlertTitle" variant="warning" :dismissible="false">
<gl-sprintf :message="$options.i18n.deprecationAlertContent">
<template #link="{ content }">
<gl-link target="_blank" :href="$options.LEGACY_REGISTER_HELP_URL"