diff --git a/Classes/Fusion/Helper/NodeInfoHelper.php b/Classes/Fusion/Helper/NodeInfoHelper.php index 168e70e2a3..5faa5e3c27 100644 --- a/Classes/Fusion/Helper/NodeInfoHelper.php +++ b/Classes/Fusion/Helper/NodeInfoHelper.php @@ -126,8 +126,8 @@ public function renderNodeWithMinimalPropertiesAndChildrenInformation( $node->nodeAggregateId )->isHidden, '_hiddenInIndex' => $node->getProperty('_hiddenInIndex'), - '_hiddenBeforeDateTime' => $node->getProperty('hiddenBeforeDateTime') instanceof \DateTimeInterface ? $node->getProperty('hiddenBeforeDateTime')->format(\DateTime::W3C) : '', - '_hiddenAfterDateTime' => $node->getProperty('hiddenAfterDateTime') instanceof \DateTimeInterface ? $node->getProperty('hiddenAfterDateTime')->format(\DateTime::W3C) : '', + 'enableAfterDateTime' => $node->getProperty('enableAfterDateTime') instanceof \DateTimeInterface ? $node->getProperty('enableAfterDateTime')->format(\DateTime::W3C) : '', + 'disableAfterDateTime' => $node->getProperty('disableAfterDateTime') instanceof \DateTimeInterface ? $node->getProperty('disableAfterDateTime')->format(\DateTime::W3C) : '', ]; if ($controllerContext !== null) { diff --git a/packages/neos-ui/src/Containers/LeftSideBar/NodeTree/Node/index.js b/packages/neos-ui/src/Containers/LeftSideBar/NodeTree/Node/index.js index 0e1c2edfc3..a73e65c855 100644 --- a/packages/neos-ui/src/Containers/LeftSideBar/NodeTree/Node/index.js +++ b/packages/neos-ui/src/Containers/LeftSideBar/NodeTree/Node/index.js @@ -171,8 +171,8 @@ export default class Node extends PureComponent { const {node} = this.props; const isHidden = node?.properties?._hidden; - const isHiddenBefore = node?.properties?._hiddenBeforeDateTime; - const isHiddenAfter = node?.properties?._hiddenAfterDateTime; + const isHiddenBefore = node?.properties?.enableAfterDateTime; + const isHiddenAfter = node?.properties?.disableAfterDateTime; if (isHiddenBefore || isHiddenAfter) { let isCurrentlyHidden = false;