mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -05: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
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ const Header = ({member, lastPage, brandColor, onBack, showConfirmation, confirm
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<header className='gh-portal-detail-header'>
|
<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>
|
<h3 className='gh-portal-main-title'>{title}</h3>
|
||||||
</header>
|
</header>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue