refresh config after appstore login

1. create new cloudron
2. appstore login
3. go to domains view. cannot add more than one domain because config.features is not refreshed.
This commit is contained in:
Girish Ramakrishnan
2021-08-10 14:43:08 -07:00
parent 6d7f9b10bd
commit 458a758ea7
2 changed files with 3 additions and 0 deletions

View File

@@ -516,6 +516,8 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
Client.prototype.setConfig = function (config) {
var that = this;
console.log('SETTING CONFIG');
console.dir(config);
angular.copy(config, this._config);
<% if (appstore.webOrigin) { -%>