Skip to content

Commit

Permalink
comment take line
Browse files Browse the repository at this point in the history
  • Loading branch information
Janith Rathnayaka committed Nov 28, 2024
1 parent 4fe8eb0 commit c3d9f70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/publisher/src/shared/shared.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { shareReplay, switchMap, take, tap } from "rxjs/operators";
export class SharedService{
private _reportId: Subject<string> = new Subject<string>();
reportId$: Observable<string> = this._reportId.asObservable().pipe(
take(1),
// take(1),
tap(value => console.log('Report ID emitted:', value)),
shareReplay(1)
);
Expand Down

0 comments on commit c3d9f70

Please sign in to comment.