Small Tweaks before Release (#2571)
Co-authored-by: charles <30816317+charles7668@users.noreply.github.com>
This commit is contained in:
parent
95a186e252
commit
1d56f5a0a1
12 changed files with 43 additions and 71 deletions
|
@ -48,7 +48,7 @@ export class LicenseComponent implements OnInit {
|
|||
ngOnInit(): void {
|
||||
this.formGroup.addControl('licenseKey', new FormControl('', [Validators.required]));
|
||||
this.formGroup.addControl('email', new FormControl('', [Validators.required]));
|
||||
this.formGroup.addControl('discordId', new FormControl('', []));
|
||||
this.formGroup.addControl('discordId', new FormControl('', [Validators.pattern(/\d+/)]));
|
||||
this.accountService.hasAnyLicense().subscribe(res => {
|
||||
this.hasLicense = res;
|
||||
this.cdRef.markForCheck();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue