Typescript cleanup

This commit is contained in:
Michael Shamoon 2020-12-13 10:25:51 -08:00
parent 6f684f8070
commit bb1725c7dd
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
import { Component, EventEmitter, Input, OnInit, Output, ElementRef, ViewChild } from '@angular/core';
import { Component, EventEmitter, Input, Output, ElementRef, ViewChild } from '@angular/core';
import { Observable } from 'rxjs';
import { Results } from 'src/app/data/results';
import { ObjectWithId } from 'src/app/data/object-with-id';
@ -9,7 +9,7 @@ import { FilterPipe } from 'src/app/pipes/filter.pipe';
templateUrl: './filter-dropdown.component.html',
styleUrls: ['./filter-dropdown.component.scss']
})
export class FilterDropdownComponent implements OnInit {
export class FilterDropdownComponent {
constructor(private filterPipe: FilterPipe) { }

View File

@ -6,7 +6,7 @@
<input class="form-control form-control-sm" type="text" [(ngModel)]="filterEditorService.filterText" placeholder="Title" #filterTextInput>
</div>
<app-filter-dropdown class="col-auto" [(items)]="filterEditorService.tags" [itemsSelected]="filterEditorService.selectedTags" [title]="'Tags'" [display]="'tag'" (toggle)="onToggleTag($event)"></app-filter-dropdown>
<app-filter-dropdown class="col-auto" [(items)]="filterEditorService.tags" [itemsSelected]="filterEditorService.selectedTags" [title]="'Tags'" (toggle)="onToggleTag($event)"></app-filter-dropdown>
<app-filter-dropdown class="col-auto" [(items)]="filterEditorService.correspondents" [itemsSelected]="filterEditorService.selectedCorrespondents" [title]="'Correspondents'" (toggle)="onToggleCorrespondent($event)"></app-filter-dropdown>
<app-filter-dropdown class="col-auto" [(items)]="filterEditorService.documentTypes" [itemsSelected]="filterEditorService.selectedDocumentTypes" [title]="'Document Types'" (toggle)="onToggleDocumentType($event)"></app-filter-dropdown>