HotFix - license screen

This commit is contained in:
Timo Bejan 2023-06-13 11:53:17 +03:00
parent 4d761adc0d
commit fd1e1fb80a

View File

@ -92,11 +92,7 @@ export class LicenseService extends GenericService<ILicenseReport> {
this.setSelectedLicense(this.selectedLicense);
}
x = null;
async loadLicenseData(license: ILicense = this.selectedLicense) {
if (this.x) {
return;
}
this.totalLicensedNumberOfPages = this.getTotalLicensedNumberOfPages(license);
const startDate = dayjs(license.validFrom);
@ -123,7 +119,6 @@ export class LicenseService extends GenericService<ILicenseReport> {
this.unlicensedPages = 0;
}
this.analyzedPagesInCurrentLicensingPeriod = this.currentLicenseInfo.numberOfAnalyzedPages;
this.x = '100';
}
getTotalLicensedNumberOfPages(license: ILicense) {