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

UInwrapped notes index

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