Skip to content
Snippets Groups Projects
Commit 8583af69 authored by Ron Lucke's avatar Ron Lucke Committed by Elmar Ludwig
Browse files

fix biest #757

parent 0570d36c
No related branches found
No related tags found
No related merge requests found
......@@ -45,9 +45,9 @@
<p>{{ child.attributes.payload.description }}</p>
</div>
<footer>
{{ countChildren }}
{{ countChildChildren(child)}}
<translate
:translate-n="countChildren"
:translate-n="countChildChildren(child)"
translate-plural="Seiten"
>
Seite
......@@ -171,6 +171,9 @@ export default {
return {};
}
},
countChildChildren(child) {
return this.childrenById(child.id).length;
},
hasImage(child) {
return child.relationships?.image?.data !== null;
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment