Revert diff notes bundle change

This commit is contained in:
Clement Ho 2018-05-24 14:55:35 -05:00
parent b7f6f96abd
commit 7e88d9c7e4

View file

@ -69,10 +69,9 @@ export default () => {
gl.diffNotesCompileComponents(); gl.diffNotesCompileComponents();
const resolveCountAppEl = document.querySelector('#resolve-count-app'); if (!hasVueMRDiscussionsCookie()) {
if (!hasVueMRDiscussionsCookie() && resolveCountAppEl) {
new Vue({ new Vue({
el: resolveCountAppEl, el: '#resolve-count-app',
components: { components: {
'resolve-count': ResolveCount 'resolve-count': ResolveCount
}, },