From ea7b569d30829c762fb97e3a015ec89a7b8aaac4 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Sun, 4 Feb 2018 21:10:39 +0330 Subject: [PATCH] fix(progress): finish on fail --- lib/plugin.template.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/plugin.template.js b/lib/plugin.template.js index ee84c33..8f753cf 100755 --- a/lib/plugin.template.js +++ b/lib/plugin.template.js @@ -119,6 +119,7 @@ const setupProgress = (axios, ctx) => { axios.onError(() => { currentRequests-- $loading().fail() + $loading().finish() }) const onProgress = e => {