Check appstore account only onReady()

This commit is contained in:
Johannes Zellner
2016-08-01 13:17:37 +02:00
parent aedd370e76
commit 30606a55fc

View File

@@ -234,10 +234,9 @@ angular.module('Application').controller('MainController', ['$scope', '$route',
if (config.cloudronName) {
document.title = config.cloudronName;
}
checkAppstoreAccount();
});
Client.onRead(checkAppstoreAccount);
// setup all the dialog focus handling
['updateModal'].forEach(function (id) {