PDF Polish (#2837)
Co-authored-by: William Brockhus <pickeringw@gmail.com>
This commit is contained in:
parent
6ed634f5d1
commit
752fda0e93
15 changed files with 103 additions and 106 deletions
|
@ -22,7 +22,7 @@ import {catchError} from "rxjs";
|
|||
styleUrls: ['./license.component.scss'],
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
standalone: true,
|
||||
imports: [NgIf, NgbTooltip, LoadingComponent, NgbCollapse, ReactiveFormsModule, TranslocoDirective]
|
||||
imports: [NgbTooltip, LoadingComponent, NgbCollapse, ReactiveFormsModule, TranslocoDirective]
|
||||
})
|
||||
export class LicenseComponent implements OnInit {
|
||||
|
||||
|
@ -36,7 +36,7 @@ export class LicenseComponent implements OnInit {
|
|||
|
||||
hasValidLicense: boolean = false;
|
||||
hasLicense: boolean = false;
|
||||
isChecking: boolean = false;
|
||||
isChecking: boolean = true;
|
||||
isSaving: boolean = false;
|
||||
|
||||
buyLink = environment.buyLink;
|
||||
|
@ -53,8 +53,11 @@ export class LicenseComponent implements OnInit {
|
|||
this.hasLicense = res;
|
||||
this.cdRef.markForCheck();
|
||||
});
|
||||
this.isChecking = true;
|
||||
this.cdRef.markForCheck();
|
||||
this.accountService.hasValidLicense().subscribe(res => {
|
||||
this.hasValidLicense = res;
|
||||
this.isChecking = false;
|
||||
this.cdRef.markForCheck();
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue