migrate dashboard:milestones:show to static bundle
This commit is contained in:
parent
5fa3bd1787
commit
feb86d49b0
2 changed files with 2 additions and 7 deletions
|
@ -53,11 +53,6 @@ var Dispatcher;
|
|||
case 'projects:issues:show':
|
||||
shortcut_handler = true;
|
||||
break;
|
||||
case 'dashboard:milestones:show':
|
||||
import('./pages/dashboard/milestones/show')
|
||||
.then(callDefault)
|
||||
.catch(fail);
|
||||
break;
|
||||
case 'dashboard:issues':
|
||||
import('./pages/dashboard/issues')
|
||||
.then(callDefault)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import Milestone from '~/milestone';
|
||||
import Sidebar from '~/right_sidebar';
|
||||
|
||||
export default () => {
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
new Milestone(); // eslint-disable-line no-new
|
||||
new Sidebar(); // eslint-disable-line no-new
|
||||
};
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue