Skip to content

Commit

Permalink
fix(progress): finish on fail
Browse files Browse the repository at this point in the history
  • Loading branch information
Pooya Parsa committed Feb 4, 2018
1 parent 7345f8d commit ea7b569
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/plugin.template.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ const setupProgress = (axios, ctx) => {
axios.onError(() => {
currentRequests--
$loading().fail()
$loading().finish()
})

const onProgress = e => {
Expand Down

0 comments on commit ea7b569

Please sign in to comment.