diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-28 09:09:59 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-28 09:09:59 +0300 |
commit | 99f384810fcb98be5dc45c22552eb80a76021387 (patch) | |
tree | 21429d96a861d76467f32bc010a4b4b86ddf20db /app/assets/javascripts/pages | |
parent | 40a8d9a482e10a5f337b19c07d2f93bd8f90851b (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/pages')
-rw-r--r-- | app/assets/javascripts/pages/projects/shared/permissions/components/settings_panel.vue | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/assets/javascripts/pages/projects/shared/permissions/components/settings_panel.vue b/app/assets/javascripts/pages/projects/shared/permissions/components/settings_panel.vue index b6ebcabd33c..6ff48b7de95 100644 --- a/app/assets/javascripts/pages/projects/shared/permissions/components/settings_panel.vue +++ b/app/assets/javascripts/pages/projects/shared/permissions/components/settings_panel.vue @@ -370,7 +370,10 @@ export default { return this.packageRegistryAccessLevel === FEATURE_ACCESS_LEVEL_ANONYMOUS[0]; }, packageRegistryApiForEveryoneEnabledShown() { - return this.visibilityLevel !== VISIBILITY_LEVEL_PUBLIC_INTEGER; + return ( + this.packageRegistryAllowAnyoneToPullOption && + this.visibilityLevel !== VISIBILITY_LEVEL_PUBLIC_INTEGER + ); }, monitorOperationsFeatureAccessLevelOptions() { return this.featureAccessLevelOptions.filter(([value]) => value <= this.monitorAccessLevel); |