I have the following code :
await this.panelService.getActivePanels().subscribe(activePanels => {
panel = activePanels.find(panel => panel.serviceId === serviceId);
});
I want to add a pipe before the subscribe, that does the find operation, so when I subscribe I will get just the one panel returned by the find, is that possible? and how would it look?