Sort Order Fix on Volume Detail Page (#3216)

This commit is contained in:
Joe Milazzo 2024-09-23 10:52:34 -05:00 committed by GitHub
parent ee253820f6
commit 0a13cc8454
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 131 additions and 103 deletions

View file

@ -118,7 +118,8 @@ export class GroupedTypeaheadComponent implements OnInit {
@HostListener('window:click', ['$event'])
handleDocumentClick(event: any) {
handleDocumentClick(event: MouseEvent) {
console.log('click: ', event)
this.close();
}
@ -197,7 +198,7 @@ export class GroupedTypeaheadComponent implements OnInit {
}
toggleIncludeFiles(val: boolean) {
const firstRun = val === false && val === this.includeChapterAndFiles;
const firstRun = !val && val === this.includeChapterAndFiles;
this.includeChapterAndFiles = val;
this.inputChanged.emit({value: this.searchTerm, includeFiles: this.includeChapterAndFiles});