Commit b3d15ebd authored by Jacques Erasmus's avatar Jacques Erasmus

Fix aux viewers

This fixes the Auxiliary viewers on the refactored blob view
parent c83cf1f8
...@@ -2,7 +2,7 @@ import Vue from 'vue'; ...@@ -2,7 +2,7 @@ import Vue from 'vue';
import VueApollo from 'vue-apollo'; import VueApollo from 'vue-apollo';
import TableOfContents from '~/blob/components/table_contents.vue'; import TableOfContents from '~/blob/components/table_contents.vue';
import PipelineTourSuccessModal from '~/blob/pipeline_tour_success_modal.vue'; import PipelineTourSuccessModal from '~/blob/pipeline_tour_success_modal.vue';
import { BlobViewer } from '~/blob/viewer/index'; import { BlobViewer, initAuxiliaryViewer } from '~/blob/viewer/index';
import GpgBadges from '~/gpg_badges'; import GpgBadges from '~/gpg_badges';
import createDefaultClient from '~/lib/graphql'; import createDefaultClient from '~/lib/graphql';
import initBlob from '~/pages/projects/init_blob'; import initBlob from '~/pages/projects/init_blob';
...@@ -39,6 +39,8 @@ if (viewBlobEl) { ...@@ -39,6 +39,8 @@ if (viewBlobEl) {
}); });
}, },
}); });
initAuxiliaryViewer();
} else { } else {
new BlobViewer(); // eslint-disable-line no-new new BlobViewer(); // eslint-disable-line no-new
initBlob(); initBlob();
......
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