1
0
Fork 0
mirror of synced 2024-09-29 16:51:33 +13:00

fix hierarchy view not opening the correct modal

This commit is contained in:
kevmodrome 2020-04-09 10:22:02 +02:00
parent 7998d95be0
commit 6a0813ac01

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,
},