diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-17 15:07:26 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-17 15:07:26 +0300 |
commit | 77ee26b43bda4b092f356d5185f424bad232af36 (patch) | |
tree | ecc8b81493b927d9dc88d357d1328be58d5188dd /app/assets/javascripts/pipelines | |
parent | 5498125b82c1bad4c613cc4b90c7920d47d949d4 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/pipelines')
-rw-r--r-- | app/assets/javascripts/pipelines/components/pipelines_list/pipelines_ci_templates.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/pipelines/components/pipelines_list/pipelines_ci_templates.vue b/app/assets/javascripts/pipelines/components/pipelines_list/pipelines_ci_templates.vue index 55cc8e8fed6..d50229e47c4 100644 --- a/app/assets/javascripts/pipelines/components/pipelines_list/pipelines_ci_templates.vue +++ b/app/assets/javascripts/pipelines/components/pipelines_list/pipelines_ci_templates.vue @@ -13,7 +13,7 @@ import { import { helpPagePath } from '~/helpers/help_page_helper'; import GitlabExperiment from '~/experimentation/components/gitlab_experiment.vue'; import ExperimentTracking from '~/experimentation/experiment_tracking'; -import { getExperimentData } from '~/experimentation/utils'; +import { isExperimentVariant } from '~/experimentation/utils'; import Tracking from '~/tracking'; export default { @@ -70,7 +70,7 @@ export default { return helpPagePath('ci/runners/runners_scope', { anchor: 'shared-runners' }); }, runnersAvailabilitySectionExperimentEnabled() { - return Boolean(getExperimentData(RUNNERS_AVAILABILITY_SECTION_EXPERIMENT_NAME)); + return isExperimentVariant(RUNNERS_AVAILABILITY_SECTION_EXPERIMENT_NAME); }, }, created() { |