improved author popover in case of missing counts

This commit is contained in:
Grzegorz Leoniec 2018-10-16 14:56:20 +02:00
parent d59ee07787
commit d457b2fa82

View File

@ -26,7 +26,7 @@
<ds-space margin="small">
<ds-text
size="x-large"
style="margin-bottom: 0; text-align: center">{{ author.contributionsCount }}</ds-text>
style="margin-bottom: 0; text-align: center">{{ author.contributionsCount || 0 }}</ds-text>
<ds-text
size="small"
style="text-align: center">Beiträge</ds-text>
@ -36,7 +36,7 @@
<ds-space margin="small">
<ds-text
size="x-large"
style="margin-bottom: 0; text-align: center">{{ author.commentsCount }}</ds-text>
style="margin-bottom: 0; text-align: center">{{ author.commentsCount || 0 }}</ds-text>
<ds-text
size="small"
style="text-align: center">Kommentare</ds-text>