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:
parent
c94be8cea7
commit
995bef0f57
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue