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/helpers/artifacts_helper.rb')
-rw-r--r--app/helpers/artifacts_helper.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/helpers/artifacts_helper.rb b/app/helpers/artifacts_helper.rb
index 10d2714840d..3f23eacdcbb 100644
--- a/app/helpers/artifacts_helper.rb
+++ b/app/helpers/artifacts_helper.rb
@@ -5,7 +5,8 @@ module ArtifactsHelper
{
project_path: project.full_path,
project_id: project.id,
- can_destroy_artifacts: can?(current_user, :destroy_artifacts, project).to_s
+ can_destroy_artifacts: can?(current_user, :destroy_artifacts, project).to_s,
+ job_artifacts_count_limit: ::Ci::JobArtifacts::BulkDeleteByProjectService::JOB_ARTIFACTS_COUNT_LIMIT
}
end
end