Fix type error
This commit is contained in:
parent
666b623f4a
commit
051b8db4df
@ -1,7 +1,7 @@
|
||||
import {AbstractControl} from '@angular/forms';
|
||||
|
||||
export function keywordsValidator(control: AbstractControl): { [key: string]: any } | null {
|
||||
if (control.value === undefined) {
|
||||
if (control.value === null) {
|
||||
return null;
|
||||
}
|
||||
let split: string[];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user