fix tiny bug to see if response was successful
Merge pull request #4948 from dimagi/fix-dashboard-undefined

fix tiny bug to see if response was successful