mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-11-25 18:20:31 -06:00
Fix router on /
This commit is contained in:
parent
641f98b2ee
commit
70af9a0d4f
@ -34,6 +34,10 @@ import { SearchService } from './shared'; // Temporary
|
||||
{
|
||||
path: '/videos/add',
|
||||
component: VideoAddComponent
|
||||
},
|
||||
{
|
||||
path: '/',
|
||||
component: VideoListComponent
|
||||
}
|
||||
])
|
||||
|
||||
|
@ -52,7 +52,7 @@ export class SearchComponent implements OnInit {
|
||||
|
||||
this.searchCriterias.field = choice;
|
||||
|
||||
if (this.searchCriterias.value !== '') {
|
||||
if (this.searchCriterias.value) {
|
||||
this.doSearch();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user