Commit cdcd1582 by Johannes Edmeier

Fix broken info fetching

parent 34b2a071
......@@ -78,7 +78,7 @@ module.run(function ($rootScope, $state, Notification, Application, ApplicationG
var queueRefresh = function (application) {
application.refreshing = true;
if (runningRefreshs++ >= 15) {
refreshQueue.push([application]);
refreshQueue.push(application);
} else {
refresh(application);
}
......@@ -89,7 +89,7 @@ module.run(function ($rootScope, $state, Notification, Application, ApplicationG
application.refreshing = false;
runningRefreshs--;
if (refreshQueue.length > 0) {
refresh(application);
refresh(refreshQueue.pop());
}
});
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment