debian-mirror-gitlab/app/assets/javascripts/sidebar/sidebar_bundle.js

10 lines
267 B
JavaScript
Raw Normal View History

2021-11-11 11:23:49 +05:30
import { mountSidebar, getSidebarOptions } from 'ee_else_ce/sidebar/mount_sidebar';
2021-03-11 19:13:27 +05:30
import Mediator from './sidebar_mediator';
2017-08-17 22:00:37 +05:30
2021-11-11 11:23:49 +05:30
export default (store) => {
2018-03-17 18:26:18 +05:30
const mediator = new Mediator(getSidebarOptions());
2022-08-27 11:52:29 +05:30
mediator.fetch();
2017-08-17 22:00:37 +05:30
2021-11-11 11:23:49 +05:30
mountSidebar(mediator, store);
2018-03-27 19:54:05 +05:30
};