fix hierarchy view not opening the correct modal
This commit is contained in:
parent
eb0298420e
commit
4e48fc60a5
|
@ -29,8 +29,10 @@
|
|||
|
||||
function selectHierarchyItem(node) {
|
||||
store.selectExistingNode(node.nodeId)
|
||||
const modalType =
|
||||
node.type === "index" ? CreateEditViewModal : CreateEditModelModal
|
||||
open(
|
||||
CreateEditViewModal,
|
||||
modalType,
|
||||
{
|
||||
onClosed: close,
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue