HotFix - license screen
This commit is contained in:
parent
4d761adc0d
commit
fd1e1fb80a
@ -92,11 +92,7 @@ export class LicenseService extends GenericService<ILicenseReport> {
|
|||||||
this.setSelectedLicense(this.selectedLicense);
|
this.setSelectedLicense(this.selectedLicense);
|
||||||
}
|
}
|
||||||
|
|
||||||
x = null;
|
|
||||||
async loadLicenseData(license: ILicense = this.selectedLicense) {
|
async loadLicenseData(license: ILicense = this.selectedLicense) {
|
||||||
if (this.x) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
this.totalLicensedNumberOfPages = this.getTotalLicensedNumberOfPages(license);
|
this.totalLicensedNumberOfPages = this.getTotalLicensedNumberOfPages(license);
|
||||||
|
|
||||||
const startDate = dayjs(license.validFrom);
|
const startDate = dayjs(license.validFrom);
|
||||||
@ -123,7 +119,6 @@ export class LicenseService extends GenericService<ILicenseReport> {
|
|||||||
this.unlicensedPages = 0;
|
this.unlicensedPages = 0;
|
||||||
}
|
}
|
||||||
this.analyzedPagesInCurrentLicensingPeriod = this.currentLicenseInfo.numberOfAnalyzedPages;
|
this.analyzedPagesInCurrentLicensingPeriod = this.currentLicenseInfo.numberOfAnalyzedPages;
|
||||||
this.x = '100';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
getTotalLicensedNumberOfPages(license: ILicense) {
|
getTotalLicensedNumberOfPages(license: ILicense) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user