Web: Changed licenseDate to dueDate for trial period expiration check
This commit is contained in:
parent
706394ee7f
commit
cd01151b9a
@ -87,9 +87,9 @@ class CurrentTariffStatusStore {
|
||||
return this.isValidDate(this.dueDate);
|
||||
}
|
||||
get isLicenseDateExpired() {
|
||||
if (!this.licenseDate) return;
|
||||
if (!this.isPaymentDateValid) return;
|
||||
|
||||
return this.isValidDate(this.licenseDate);
|
||||
return moment() > moment(this.dueDate);
|
||||
}
|
||||
get gracePeriodEndDate() {
|
||||
moment.locale(authStore.language);
|
||||
|
Loading…
Reference in New Issue
Block a user