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:
Victor Ershov 2024-03-22 19:59:11 +00:00
commit 5bd1896465
2 changed files with 1 additions and 6 deletions

View File

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

View File

@ -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")
);