const sites$: Observable<ISiteData<IRoleData>[]> = this.store.select('auth', 'user', 'sites');
sites$.pipe(
tap((x) => console.log(x)),
takeUntil(this.unsubscribe$$),
);
sites$.subscribe((val: any) => console.log(val)).unsubscribe();
In this situation, the subscribe method is printing the entire object returned. The pipe is not printing anything. How / Why is this going wrong ?
I need to be get the both of them to work the same way.