uber/cadence-web

injectDomainIntoWorkflowList fails to handle null

sokada1221 opened this issue · 1 comments

injectDomainIntoWorkflowList encounters the following error when executions list returned is null

Cannot read property 'map' of null

Current implementation only handles the case when executions is undefined

Hi @sokada1221 , I believe you are right. I will write a unit test which proves your point and proceed with a fix.
Thanks!