johannesjo / angular2-promise-buttons

Chilled loading buttons for angular2
https://johannesjo.github.io/angular2-promise-buttons/#demo
MIT License
86 stars 28 forks source link

Fix: don't init loading state on some conditions #9

Closed ghost closed 7 years ago

ghost commented 7 years ago

It was possible to init loading state when anything else than a promise is passed and cfg:handleCurrentBtnOnly is true

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.3%) to 95.37% when pulling eb1010f0afba609fca925ca4a29bd92066b40670 on maxkorz:fix-cancel-click-when-no-promise into 0408a91af6e0a5f2af03870f5d3467a812a1f912 on johannesjo:master.