show family portal for all subcriptions

This commit is contained in:
Abhinav 2022-05-07 16:43:30 +05:30
parent b749d74617
commit 5e12e192ab

View file

@ -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>