Commit e4d49957 authored by Jacob Schatz's avatar Jacob Schatz

Merge branch 'remove-weight-select-issuable-sidebar' into 'master'

Remove unused weightSelect from initIssuableSidebar

See merge request gitlab-org/gitlab-ee!4521
parents a23da54d 61ff5083
...@@ -7,8 +7,6 @@ import Sidebar from './right_sidebar'; ...@@ -7,8 +7,6 @@ import Sidebar from './right_sidebar';
import DueDateSelectors from './due_date_select'; import DueDateSelectors from './due_date_select';
import WeightSelect from 'ee/weight_select'; // eslint-disable-line import/first
export default () => { export default () => {
const sidebarOptions = JSON.parse(document.querySelector('.js-sidebar-options').innerHTML); const sidebarOptions = JSON.parse(document.querySelector('.js-sidebar-options').innerHTML);
...@@ -16,7 +14,6 @@ export default () => { ...@@ -16,7 +14,6 @@ export default () => {
full_path: sidebarOptions.fullPath, full_path: sidebarOptions.fullPath,
}); });
new LabelsSelect(); new LabelsSelect();
new WeightSelect();
new IssuableContext(sidebarOptions.currentUser); new IssuableContext(sidebarOptions.currentUser);
new DueDateSelectors(); new DueDateSelectors();
Sidebar.initialize(); Sidebar.initialize();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment