Merge branch 'hotfix/subPlans' into 'develop'
fix: remove double image key, filter subscription plans See merge request witapp/aura-webapp!58
This commit is contained in:
commit
5bd1896465
@ -40,11 +40,6 @@ function QuestionnaireIntermediatePage() {
|
||||
}}
|
||||
>
|
||||
<object type="image/svg+xml" data={StaryKey}>svg-animation</object>
|
||||
<img
|
||||
src="/starry_key.svg"
|
||||
alt="The starry key"
|
||||
style={{ minHeight: "138px" }}
|
||||
/>
|
||||
<div>
|
||||
{path && (
|
||||
<Title variant="h1" className={styles.title}>
|
||||
|
||||
@ -39,7 +39,7 @@ function TrialChoicePage() {
|
||||
plansKeys[plan.name] = plansKeys[plan.name]
|
||||
? plansKeys[plan.name] + 1
|
||||
: 1;
|
||||
if (plansKeys[plan.name] > 1 && !plan.trial?.is_free) {
|
||||
if (plansKeys[plan.name] > 1 && !plan.trial?.is_free && !!plan.trial) {
|
||||
const targetPlan = plansWithoutTest.find(
|
||||
(item) => item.name === plan.name && item.id.includes("stripe")
|
||||
);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user