fix(core): free cloud and ai onetime payment adaptation (#8558)

close AF-1515, AF-1516
This commit is contained in:
CatsJuice
2024-10-22 02:18:04 +00:00
parent 054c0ef9f1
commit 64f97806bb
9 changed files with 232 additions and 131 deletions
@@ -45,7 +45,10 @@ export class Subscription extends Entity {
isBeliever$ = this.pro$.map(
sub => sub?.recurring === SubscriptionRecurring.Lifetime
);
isOnetime$ = this.pro$.map(
isOnetimePro$ = this.pro$.map(
sub => sub?.variant === SubscriptionVariant.Onetime
);
isOnetimeAI$ = this.ai$.map(
sub => sub?.variant === SubscriptionVariant.Onetime
);