Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Missing observable boolean checking [nzBeforeUpload] #2167
Steps to reproduce
problems comes when i am return observable and i want to cancel by returning switchMap or for any condition or return false or null upload process continue, means returning observable acutely it's not doing any thing only to keep upload async.
What is expected?
the return type must be valid otherwise will not process uploading the file.
What is actually happening?
I think this part is missing to check boolean returned from observable as per the documentation i can return boolean or observable
here my suggestion fix for this issue.