refactor(Observable): remove unnecessary if (#6505)
refactor(Observable): remove unnecessary if (#6505)

there is an unnecessary if in the pipe, remove it

#6504
ReactiveX/RxJS,ReactiveX/rxjs,ReactiveX/RxJS,ReactiveX/RxJS,ReactiveX/rxjs,martinsik/rxjs,martinsik/rxjs,ReactiveX/RxJS,martinsik/rxjs,ReactiveX/rxjs,martinsik/rxjs,ReactiveX/rxjs