fix social action render

This commit is contained in:
Julien Fastré 2021-06-08 19:42:29 +02:00
parent 265ace0b4c
commit 3b3855089c
2 changed files with 6 additions and 1 deletions

View File

@ -102,6 +102,11 @@ class SocialAction
return $this->parent; return $this->parent;
} }
public function hasParent(): bool
{
return $this->getParent() instanceof self;
}
public function setParent(?self $parent): self public function setParent(?self $parent): self
{ {
$this->parent = $parent; $this->parent = $parent;

View File

@ -7,7 +7,7 @@
</span> </span>
{%- endfor -%} {%- endfor -%}
<span class="chill-entity__social-action__child"> <span class="chill-entity__social-action__child">
{{ socialIssue.title|localize_translatable_string }} {{ socialAction.title|localize_translatable_string }}
</span> </span>
</span> </span>
</span> </span>