feat(cover-search): trigger search automatically when form is valid after autofill (#2035)

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
This commit is contained in:
Balázs Szücs
2025-12-29 05:28:40 -07:00
committed by GitHub
parent 76b2979f37
commit d9ff9468bd
@@ -54,6 +54,10 @@ export class CoverSearchComponent implements OnInit {
title: book.metadata?.title || '',
author: book.metadata?.authors && book.metadata?.authors.length > 0 ? book.metadata?.authors[0] : ''
});
if (this.searchForm.valid) {
this.onSearch();
}
}
}