nuxt-community / axios-module

Secure and easy axios integration for Nuxt 2
https://axios.nuxtjs.org
MIT License
1.19k stars 245 forks source link

fix(plugin): hide progress bar on cancelled requests #398

Closed T0shik closed 4 years ago

T0shik commented 4 years ago

At the moment if there is a long running request that should be cancelled (like a video upload or something) the loading bar stays.

This pr is for decrementing the request cound and hiding the progress bar if last request.

codecov[bot] commented 4 years ago

Codecov Report

Merging #398 into dev will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##               dev      #398   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines           32        32           
  Branches        13        13           
=========================================
  Hits            32        32           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 669d969...bee9f01. Read the comment docs.