Commit ccd73ea0 by Johannes Edmeier

Fix broken info fetching

parent b2bee48a
......@@ -79,7 +79,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);
}
......@@ -90,7 +90,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