ensure schedule_form and schedules_index both utilize common_vue bundle

This commit is contained in:
Mike Greiling 2017-05-10 16:26:50 -05:00
parent 99f36c2ca6
commit 5655ff0fee
3 changed files with 7 additions and 4 deletions

View File

@ -1,5 +1,6 @@
- content_for :page_specific_javascripts do
= page_specific_javascript_bundle_tag('schedule_form')
= webpack_bundle_tag 'common_vue'
= webpack_bundle_tag 'schedule_form'
= form_for [@project.namespace.becomes(Namespace), @project, @schedule], as: :schedule, html: { id: "new-pipeline-schedule-form", class: "form-horizontal js-pipeline-schedule-form" } do |f|
= form_errors(@schedule)

View File

@ -1,5 +1,6 @@
- content_for :page_specific_javascripts do
= page_specific_javascript_bundle_tag('schedules_index')
= webpack_bundle_tag 'common_vue'
= webpack_bundle_tag 'schedules_index'
- @no_container = true
- page_title "Pipeline Schedules"
@ -21,4 +22,3 @@
- else
.light-well
.nothing-here-block No schedules

View File

@ -142,13 +142,15 @@ var config = {
'environments',
'environments_folder',
'filtered_search',
'sidebar',
'issue_show',
'merge_conflicts',
'notebook_viewer',
'pdf_viewer',
'pipelines',
'pipelines_graph',
'schedule_form',
'schedules_index',
'sidebar',
],
minChunks: function(module, count) {
return module.resource && (/vue_shared/).test(module.resource);