ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix router on /
Chocobozzz70af9a0d4f09
diff --git a/client/src/app/app.component.ts b/client/src/app/app.component.tsindex 2a1486fb24..0cee6edbf7 100644--- a/client/src/app/app.component.ts+++ b/client/src/app/app.component.ts@@ -34,6 +34,10 @@ import { SearchService } from './shared'; // Temporary{path: '/videos/add',component: VideoAddComponent+ },+ {+ path: '/',+ component: VideoListComponent}])diff --git a/client/src/app/shared/search/search.component.ts b/client/src/app/shared/search/search.component.tsindex 2f89d83bf4..9218850ed7 100644--- a/client/src/app/shared/search/search.component.ts+++ b/client/src/app/shared/search/search.component.ts@@ -52,7 +52,7 @@ export class SearchComponent implements OnInit {this.searchCriterias.field = choice;- if (this.searchCriterias.value !== '') {+ if (this.searchCriterias.value) {this.doSearch();}}