Fixed indention of structual element

This commit is contained in:
Jan Böhmer 2023-06-20 01:11:41 +02:00
parent 6081fe3295
commit ea44fe0f16

View file

@ -69,11 +69,9 @@ class StructuralEntityChoiceHelper
$level -= $parent->getLevel() - 1; $level -= $parent->getLevel() - 1;
} }
$tmp += [ $tmp['data-level'] = $level;
'data-level' => $level, $tmp['data-parent'] = $choice->getParent() instanceof AbstractStructuralDBElement ? $choice->getParent()->getFullPath() : null;
'data-parent' => $choice->getParent() instanceof AbstractStructuralDBElement ? $choice->getParent()->getFullPath() : null, $tmp['data-path'] = $choice->getFullPath('->');
'data-path' => $choice->getFullPath('->'),
];
} }
if ($choice instanceof HasMasterAttachmentInterface) { if ($choice instanceof HasMasterAttachmentInterface) {