Disable initialization table pipeline for new merge request form
Closes #31052
This commit is contained in:
parent
00c1e31c1c
commit
1194d904dd
2 changed files with 3 additions and 2 deletions
|
@ -46,7 +46,7 @@
|
|||
-# This tab is always loaded via AJAX
|
||||
- if @pipelines.any?
|
||||
#pipelines.pipelines.tab-pane
|
||||
= render 'projects/merge_requests/show/pipelines', endpoint: url_for(params.merge(format: :json))
|
||||
= render 'projects/merge_requests/show/pipelines', endpoint: url_for(params.merge(format: :json)), disable_initialization: true
|
||||
|
||||
.mr-loading-status
|
||||
= spinner
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
- endpoint_path = local_assigns[:endpoint] || pipelines_namespace_project_merge_request_path(@project.namespace, @project, @merge_request, format: :json)
|
||||
- disable_initialization = local_assigns.fetch(:disable_initialization, false)
|
||||
|
||||
= render 'projects/commit/pipelines_list', endpoint: endpoint_path
|
||||
= render 'projects/commit/pipelines_list', endpoint: endpoint_path, disable_initialization: disable_initialization
|
||||
|
|
Loading…
Reference in a new issue