Fetch subscription directly after the cloudron was registered to update the ui
This commit is contained in:
@@ -273,7 +273,10 @@ angular.module('Application').controller('AppStoreController', ['$scope', '$loca
|
||||
return;
|
||||
}
|
||||
|
||||
fetchAppstoreConfig();
|
||||
fetchAppstoreConfig(function (error) {
|
||||
if (error) return console.error('Unable to fetch appstore config.', error);
|
||||
$scope.$parent.fetchAppstoreProfileAndSubscription(function () {});
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user