mirror of
https://github.com/maciejpedzich/cats-album.git
synced 2024-11-27 22:35:47 +01:00
Show an extra paragraph for cats that passed away
This commit is contained in:
parent
e520b7dd99
commit
1653877498
@ -35,8 +35,13 @@ const title = `${cat.data.owner.name}'s ${cat.data.name}`;
|
||||
</div>
|
||||
<div class="col-12 col-6-md">
|
||||
<p>
|
||||
{cat.data.description}
|
||||
{
|
||||
cat.data.description.length === 0
|
||||
? 'No description provided.'
|
||||
: cat.data.description
|
||||
}
|
||||
</p>
|
||||
{cat.data.passedAway && <p>🕯️ Rest In Peace 🕯️</p>}
|
||||
</div>
|
||||
</div>
|
||||
</BaseLayout>
|
||||
|
Loading…
Reference in New Issue
Block a user