1
0
Fork 0
mirror of synced 2024-07-03 13:30:46 +12:00

fix hierarchy view not opening the correct modal

This commit is contained in:
kevmodrome 2020-04-09 10:22:02 +02:00
parent eb0298420e
commit 4e48fc60a5

View file

@ -29,8 +29,10 @@
function selectHierarchyItem(node) {
store.selectExistingNode(node.nodeId)
const modalType =
node.type === "index" ? CreateEditViewModal : CreateEditModelModal
open(
CreateEditViewModal,
modalType,
{
onClosed: close,
},