File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
routes/(console)/organization-[organization]/change-plan Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 28
28
(team ) => ! $plansInfo .get ((team as Organization ).billingPlan )?.premiumSupport
29
29
);
30
30
31
- $ : upgradeURL = ` ${base }/organization-${freeOrganization .$id }/change-plan ` ;
31
+ $ : upgradeURL = ` ${base }/organization-${freeOrganization ? .$id }/change-plan ` ;
32
32
33
33
$ : supportTimings = ` ${utcHourToLocaleHour (' 16:00' )} - ${utcHourToLocaleHour (' 00:00' )} ${localeShortTimezoneName ()} ` ;
34
34
Original file line number Diff line number Diff line change 241
241
}
242
242
}
243
243
244
- $ : isUpgrade = $plansInfo .get (selectedPlan ).order > $currentPlan .order ;
245
- $ : isDowngrade = $plansInfo .get (selectedPlan ).order < $currentPlan .order ;
246
- $ : isButtonDisabled = $organization .billingPlan === selectedPlan ;
244
+ $ : isUpgrade = $plansInfo .get (selectedPlan ).order > $currentPlan ? .order ;
245
+ $ : isDowngrade = $plansInfo .get (selectedPlan ).order < $currentPlan ? .order ;
246
+ $ : isButtonDisabled = $organization ? .billingPlan === selectedPlan ;
247
247
</script >
248
248
249
249
<svelte:head >
You can’t perform that action at this time.
0 commit comments