debian-mirror-gitlab/app/assets/javascripts/pages/projects/issues/show/index.js

12 lines
323 B
JavaScript
Raw Normal View History

2018-03-27 19:54:05 +05:30
import initSidebarBundle from '~/sidebar/sidebar_bundle';
2020-11-24 15:15:51 +05:30
import initRelatedIssues from '~/related_issues';
2018-03-27 19:54:05 +05:30
import initShow from '../show';
2018-03-17 18:26:18 +05:30
document.addEventListener('DOMContentLoaded', () => {
2018-03-27 19:54:05 +05:30
initShow();
2019-12-21 20:55:43 +05:30
if (gon.features && !gon.features.vueIssuableSidebar) {
initSidebarBundle();
}
2020-11-24 15:15:51 +05:30
initRelatedIssues();
2018-03-17 18:26:18 +05:30
});