debian-mirror-gitlab/app/assets/javascripts/sidebar/sidebar_bundle.js
2021-11-11 11:23:49 +05:30

9 lines
267 B
JavaScript

import { mountSidebar, getSidebarOptions } from 'ee_else_ce/sidebar/mount_sidebar';
import Mediator from './sidebar_mediator';
export default (store) => {
const mediator = new Mediator(getSidebarOptions());
mediator.fetch();
mountSidebar(mediator, store);
};