fix: display good avatar in case of missing author
This commit is contained in:
parent
f89440005e
commit
a264ac2066
@ -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" />
|
||||||
|
@ -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" />
|
||||||
|
Loading…
Reference in New Issue
Block a user