Commit 6416da05 authored by Tim Zallmann's avatar Tim Zallmann

UInwrapped notes index

parent 0e80b672
......@@ -5,11 +5,9 @@ import initSortDiscussions from './sort_discussions';
import initTimelineToggle from './timeline';
import { store } from './stores';
document.addEventListener('DOMContentLoaded', () => {
const el = document.getElementById('js-vue-notes');
if (!el) return;
const el = document.getElementById('js-vue-notes');
if (el) {
// eslint-disable-next-line no-new
new Vue({
el,
......@@ -61,4 +59,4 @@ document.addEventListener('DOMContentLoaded', () => {
initDiscussionFilters(store);
initSortDiscussions(store);
initTimelineToggle(store);
});
}
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