Allow searching other plugins besides songs

This commit is contained in:
Daniel 2020-03-11 00:40:48 +00:00
parent ce9d62af14
commit 8fb4d16742

View File

@ -23,7 +23,6 @@ export class SearchComponent implements OnInit {
onSubmit() { onSubmit() {
this.currentPlugin = this.selectedPlugin; this.currentPlugin = this.selectedPlugin;
this.currentPlugin = 'songs';
this.openlpService.search(this.currentPlugin, this.searchText).subscribe(items => this.searchResults = items); this.openlpService.search(this.currentPlugin, this.searchText).subscribe(items => this.searchResults = items);
} }