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;
}
$tmp += [
'data-level' => $level,
'data-parent' => $choice->getParent() instanceof AbstractStructuralDBElement ? $choice->getParent()->getFullPath() : null,
'data-path' => $choice->getFullPath('->'),
];
$tmp['data-level'] = $level;
$tmp['data-parent'] = $choice->getParent() instanceof AbstractStructuralDBElement ? $choice->getParent()->getFullPath() : null;
$tmp['data-path'] = $choice->getFullPath('->');
}
if ($choice instanceof HasMasterAttachmentInterface) {