fix: display good avatar in case of missing author

This commit is contained in:
Michel Roux 2024-01-11 23:19:03 +01:00
parent f89440005e
commit a264ac2066
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
<img class="background" :src="imageUrl"> <img class="background" :src="imageUrl">
<div class="content"> <div class="content">
<NcAvatar class="avatar" <NcAvatar class="avatar"
:display-name="author" :display-name="author || title"
:is-no-user="true" :is-no-user="true"
:size="128" :size="128"
:url="imageUrl" /> :url="imageUrl" />

View File

@ -4,7 +4,7 @@
:to="toUrl(url)"> :to="toUrl(url)">
<template #icon> <template #icon>
<NcAvatar v-if="feed" <NcAvatar v-if="feed"
:display-name="feed.author" :display-name="feed.author || feed.title"
:is-no-user="true" :is-no-user="true"
:url="feed.imageUrl" /> :url="feed.imageUrl" />
<Alert v-if="failed" /> <Alert v-if="failed" />