mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-23 02:09:03 +02:00
Fixed indention of structual element
This commit is contained in:
parent
6081fe3295
commit
ea44fe0f16
1 changed files with 3 additions and 5 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue