Fix: Date in trial (#3617)
This commit is contained in:
@@ -232,11 +232,11 @@ const seatPrice = computed(() =>
|
||||
: seatPrices.value[WorkspacePlans.Starter][BillingInterval.Monthly]
|
||||
)
|
||||
const nextPaymentDue = computed(() =>
|
||||
currentPlan.value
|
||||
? isPurchasablePlan.value
|
||||
isPurchasablePlan.value
|
||||
? subscription.value?.currentBillingCycleEnd
|
||||
? dayjs(subscription.value?.currentBillingCycleEnd).format('MMMM D, YYYY')
|
||||
: 'Never'
|
||||
: dayjs().add(30, 'days').format('MMMM D, YYYY')
|
||||
: dayjs(currentPlan.value?.createdAt).add(31, 'days').format('MMMM D, YYYY')
|
||||
: 'Never'
|
||||
)
|
||||
const isAdmin = computed(() => workspace.value?.role === Roles.Workspace.Admin)
|
||||
const guestSeatCount = computed(() =>
|
||||
|
||||
Reference in New Issue
Block a user