Obtain and control VSP package upload status
[sdc.git] / openecomp-ui / src / nfvo-components / loader / LoaderReducer.js
index 3f9eb17..4222c3d 100644 (file)
@@ -32,7 +32,9 @@ export default (
                 isLoading: true
             };
         case actionTypes.RECEIVE_RESPONSE:
-            fetchingRequests--;
+            if (fetchingRequests > 0) {
+                fetchingRequests--;
+            }
 
             newArray = state.currentlyFetching.filter(item => {
                 return item !== action.url;