Fix downloads

This commit is contained in:
Geomitron
2023-12-25 02:49:46 -06:00
parent ba309654ca
commit 99cfb306be
30 changed files with 557 additions and 1450 deletions

View File

@@ -107,16 +107,6 @@ export class SearchBarComponent implements OnInit, AfterViewInit {
return dayjs().format('YYYY-MM-DD')
}
// TODO: run this when infinite scroll should happen
// @HostListener("window:scroll", [])
// onScroll(): void {
// if ((window.innerHeight + window.scrollY) >= document.body.offsetHeight) {
// if (this.searchService.areMorePages && !this.searchService.searchLoading) {
// this.searchService.search(this.searchControl.value || '*', true).subscribe()
// }
// }
// }
initializeAdvancedSearchForm() {
this.advancedSearchForm = this.getAdvancedSearchForm() as ReturnType<this['getAdvancedSearchForm']>