ActivityPub-federated video streaming platform using P2P directly in your web browser
Don't make a search when the field is changed and the value is empty
Chocobozzz641f98b2eeb1
diff --git a/client/src/app/shared/search/search.component.ts b/client/src/app/shared/search/search.component.tsindex ed1ce807ac..2f89d83bf4 100644--- a/client/src/app/shared/search/search.component.ts+++ b/client/src/app/shared/search/search.component.ts@@ -51,7 +51,10 @@ export class SearchComponent implements OnInit {$event.stopPropagation();this.searchCriterias.field = choice;- this.doSearch();++ if (this.searchCriterias.value !== '') {+ this.doSearch();+ }}doSearch() {