dashpay / insight-ui

A Dash blockchain web browser user interface
26 stars 67 forks source link

fix: .error/.success removed in Angular #59

Closed Alex-Werner closed 4 years ago

Alex-Werner commented 4 years ago

As one can see it here : https://code.angularjs.org/snapshot/docs/guide/migration#migrate1.5to1.6-ng-services-$http

In Angular, .success and .error were replaced by .then and .catch.

Insight-ui seems to already have benefited from such a migration but one part was missing : broadsting transaction such as reported in #57 (thanks to cloudwheels for noticing).

This PR address that bug and resolves #57.