Commit c894193c authored by Mazur Volodymyr's avatar Mazur Volodymyr Committed by Pavel Mashliakovskiy

fix mounting Vue container component

parent a118f5e3
......@@ -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