0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-08 02:52:39 -05:00

Added default text if name is missing

This commit is contained in:
Peter Zimon 2020-09-04 15:28:17 +02:00
parent c94be8cea7
commit 995bef0f57

View file

@ -171,7 +171,7 @@ const AccountActions = ({member, openEditProfile, openUpdatePlan, onEditBilling,
<div className='gh-portal-list'>
<section>
<div className='gh-portal-list-detail'>
<h3>{name}</h3>
<h3>{(name ? name : 'Account')}</h3>
<p>{email}</p>
</div>
<button className='gh-portal-btn gh-portal-btn-list' onClick={e => openEditProfile(e)}>Edit</button>