show family portal for all subcriptions
This commit is contained in:
parent
b749d74617
commit
5e12e192ab
|
@ -382,17 +382,6 @@ function PlanSelector(props: Props) {
|
|||
style={{ marginTop: '20px' }}>
|
||||
{constants.MANAGEMENT_PORTAL}
|
||||
</LinkButton>
|
||||
|
||||
<LinkButton
|
||||
variant="primary"
|
||||
onClick={manageFamilyMethod.bind(
|
||||
null,
|
||||
props.setDialogMessage,
|
||||
props.setLoading
|
||||
)}
|
||||
style={{ marginTop: '20px' }}>
|
||||
{constants.MANAGE_FAMILY_PORTAL}
|
||||
</LinkButton>
|
||||
</>
|
||||
) : (
|
||||
<LinkButton
|
||||
|
@ -407,6 +396,18 @@ function PlanSelector(props: Props) {
|
|||
: constants.CLOSE}
|
||||
</LinkButton>
|
||||
)}
|
||||
{hasPaidSubscription(subscription) && (
|
||||
<LinkButton
|
||||
variant="primary"
|
||||
onClick={manageFamilyMethod.bind(
|
||||
null,
|
||||
props.setDialogMessage,
|
||||
props.setLoading
|
||||
)}
|
||||
style={{ marginTop: '20px' }}>
|
||||
{constants.MANAGE_FAMILY_PORTAL}
|
||||
</LinkButton>
|
||||
)}
|
||||
</DeadCenter>
|
||||
</Modal.Body>
|
||||
</Modal>
|
||||
|
|
Loading…
Reference in a new issue