Skip to content

Commit

Permalink
BUGIFX: Show hidden state only for directly disabled nodes without in…
Browse files Browse the repository at this point in the history
…heritance
  • Loading branch information
dlubitz authored and bwaidelich committed Oct 24, 2024
1 parent d7c53de commit c4dcecc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Domain/Service/NodePropertyConverterService.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ private function getReference(Node $node, string $referenceName): array|string|n
private function getProperty(Node $node, string $propertyName): mixed
{
if ($propertyName === '_hidden') {
return $node->tags->contain(SubtreeTag::fromString('disabled'));
return $node->tags->withoutInherited()->contain(SubtreeTag::fromString('disabled'));
}

$propertyValue = $node->getProperty($propertyName);
Expand Down

0 comments on commit c4dcecc

Please sign in to comment.