Commit 4c239f5c authored by Tristan Read's avatar Tristan Read

Fix component instantiation

parent 32c855c6
......@@ -31,7 +31,7 @@ export default function renderMetrics(elements) {
if (wrapperList.length) {
import(/* webpackChunkName: 'gfm_metrics' */ '~/monitoring/components/embeds/embed_group.vue')
.then(EmbedGroup => {
const EmbedGroupComponent = Vue.extend(EmbedGroup);
const EmbedGroupComponent = Vue.extend(EmbedGroup.default);
wrapperList.forEach(wrapper => {
// eslint-disable-next-line no-new
......
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