mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-04 17:04:59 +03:00
Fixed back button for plan confirmation page
no issue - Back button was removed for confirmation page when opened via Portal link, as we checked for `lastPage` available only
This commit is contained in:
parent
c4b0aa9b12
commit
c58fd0c8de
@ -36,7 +36,7 @@ const Header = ({member, lastPage, brandColor, onBack, showConfirmation, confirm
|
||||
}
|
||||
return (
|
||||
<header className='gh-portal-detail-header'>
|
||||
<BackButton brandColor={brandColor} onClick={e => onBack(e)} hidden={!lastPage} />
|
||||
<BackButton brandColor={brandColor} onClick={e => onBack(e)} hidden={!lastPage && !showConfirmation} />
|
||||
<h3 className='gh-portal-main-title'>{title}</h3>
|
||||
</header>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user