fix linter errors;
(cherry picked from commit 9a81845da84a15016020c9742afe164efa616c8f)
This commit is contained in:
parent
97975fc108
commit
5022155c1a
@ -31,7 +31,7 @@ import {MaterialFileInputModule} from 'ngx-material-file-input';
|
||||
import { DialogComponent } from './component/dialog/dialog.component';
|
||||
import {MatDialogModule} from '@angular/material/dialog';
|
||||
import {InterceptorService} from './services/interceptor.service';
|
||||
import {MatCardModule} from "@angular/material/card";
|
||||
import {MatCardModule} from '@angular/material/card';
|
||||
|
||||
@NgModule({
|
||||
declarations: [LandingComponent, LoginComponent, NavigationComponent,
|
||||
|
||||
@ -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 === undefined) {
|
||||
return null;
|
||||
}
|
||||
let split: string[];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user