diff --git a/Classes/Application/GetNodeTypeFilterOptions/NodeTypeFilterOption.php b/Classes/Application/GetNodeTypeFilterOptions/NodeTypeFilterOption.php index 717d744..e2bf2f3 100644 --- a/Classes/Application/GetNodeTypeFilterOptions/NodeTypeFilterOption.php +++ b/Classes/Application/GetNodeTypeFilterOptions/NodeTypeFilterOption.php @@ -32,8 +32,8 @@ public static function fromNodeType(NodeType $nodeType): self { return new self( value: $nodeType->getName(), - icon: $nodeType->getConfiguration('ui.icon'), - label: $nodeType->getConfiguration('ui.label'), + icon: $nodeType->getConfiguration('ui.icon') ?: 'question', + label: $nodeType->getConfiguration('ui.label') ?: $nodeType->getName(), ); }