Commit d61e0d9d authored by Pavel Mashliakovskiy's avatar Pavel Mashliakovskiy 🤹🏻

Merge branch 'fix/ext-component-mounting' into 'master'

fix mounting Vue container component

See merge request !825
parents a118f5e3 c894193c
Pipeline #21802 skipped with stage
......@@ -337,7 +337,11 @@ function mountContainer ({
})
instance.$mount(`#${target}`)
} else { // Ext component
instance.$mount(`#${target.getId()}-outerCt`)
if (document.getElementById(`${target.getId()}-outerCt`)) {
instance.$mount(`#${target.getId()}-outerCt`)
} else {
instance.$mount(`#${target.getId()}-innerCt`)
}
// adding vue instance to basepanel
const basePanel = target.up('basepanel')
......
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