mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-23 10:18:56 +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;
|
$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) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue