diff options
author | Mike Greiling <mike@pixelcog.com> | 2018-02-02 02:56:38 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2018-02-02 05:50:19 +0300 |
commit | 053c3d0e1ba4a6bb8cdf099b4a0a3eeef919cd62 (patch) | |
tree | 0d80f37fb1c1089a998d07f5bf875675a6a85e1e /app/assets | |
parent | cd4a87ee5549ee1ed4878c25d216daaf202240ac (diff) |
migrate dashboard:milestones:index to static bundle
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/javascripts/dispatcher.js | 5 | ||||
-rw-r--r-- | app/assets/javascripts/pages/dashboard/milestones/index/index.js | 2 |
2 files changed, 1 insertions, 6 deletions
diff --git a/app/assets/javascripts/dispatcher.js b/app/assets/javascripts/dispatcher.js index cbe32fb81de..ba54ff8ccb5 100644 --- a/app/assets/javascripts/dispatcher.js +++ b/app/assets/javascripts/dispatcher.js @@ -59,11 +59,6 @@ import SearchAutocomplete from './search_autocomplete'; case 'projects:issues:show': shortcut_handler = true; break; - case 'dashboard:milestones:index': - import('./pages/dashboard/milestones/index') - .then(callDefault) - .catch(fail); - break; case 'projects:milestones:index': import('./pages/projects/milestones/index') .then(callDefault) diff --git a/app/assets/javascripts/pages/dashboard/milestones/index/index.js b/app/assets/javascripts/pages/dashboard/milestones/index/index.js index 0f2f1bd4a25..38ddebe30d9 100644 --- a/app/assets/javascripts/pages/dashboard/milestones/index/index.js +++ b/app/assets/javascripts/pages/dashboard/milestones/index/index.js @@ -1,3 +1,3 @@ import projectSelect from '~/project_select'; -export default projectSelect; +document.addEventListener('DOMContentLoaded', projectSelect); |