ESLint: fix no-extra-boolean-cast violations

This commit is contained in:
Yury Bondarenko
2023-05-08 17:09:13 +02:00
parent ad4205073c
commit 6f0c1e003d
7 changed files with 10 additions and 10 deletions

View File

@@ -207,7 +207,7 @@ export class GroupFormComponent implements OnInit, OnDestroy {
];
this.formGroup = this.formBuilderService.createFormGroup(this.formModel);
if (!!this.formGroup.controls.groupName) {
if (this.formGroup.controls.groupName) {
this.formGroup.controls.groupName.setAsyncValidators(ValidateGroupExists.createValidator(this.groupDataService));
this.groupNameValueChangeSubscribe = this.groupName.valueChanges.pipe(debounceTime(300)).subscribe(() => {
this.changeDetectorRef.detectChanges();