fix linter errors;
This commit is contained in:
parent
8cd4f8281f
commit
9a81845da8
@ -31,7 +31,7 @@ import {MaterialFileInputModule} from 'ngx-material-file-input';
|
|||||||
import { DialogComponent } from './component/dialog/dialog.component';
|
import { DialogComponent } from './component/dialog/dialog.component';
|
||||||
import {MatDialogModule} from '@angular/material/dialog';
|
import {MatDialogModule} from '@angular/material/dialog';
|
||||||
import {InterceptorService} from './services/interceptor.service';
|
import {InterceptorService} from './services/interceptor.service';
|
||||||
import {MatCardModule} from "@angular/material/card";
|
import {MatCardModule} from '@angular/material/card';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [LandingComponent, LoginComponent, NavigationComponent,
|
declarations: [LandingComponent, LoginComponent, NavigationComponent,
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
import {AbstractControl} from '@angular/forms';
|
import {AbstractControl} from '@angular/forms';
|
||||||
|
|
||||||
export function keywordsValidator(control: AbstractControl): { [key: string]: any } | null {
|
export function keywordsValidator(control: AbstractControl): { [key: string]: any } | null {
|
||||||
if (control.value == undefined) {
|
if (control.value === undefined) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
let split: string[];
|
let split: string[];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user