feat: expose more apis
This commit is contained in:
@@ -189,6 +189,12 @@ export class PluginStoreComponent implements OnInit {
|
||||
}
|
||||
|
||||
ngOnInit(): void {
|
||||
const searchQuery = this.route.snapshot.queryParamMap.get('search')?.trim();
|
||||
|
||||
if (searchQuery) {
|
||||
this.searchTerm.set(searchQuery);
|
||||
}
|
||||
|
||||
if (this.store.sourceUrls().length > 0 && this.store.sources().length === 0) {
|
||||
void this.refreshSources();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user