remove edition flag

This commit is contained in:
Girish Ramakrishnan
2019-05-06 20:05:18 -07:00
parent 1decfe8063
commit 5d1ff97bf3

View File

@@ -160,8 +160,7 @@ angular.module('Application').service('Client', ['$http', '$interval', 'md5', 'N
progress: {},
region: null,
size: null,
memory: 0,
edition: null
memory: 0
};
this._installedApps = [];
this._installedAppsById = {};
@@ -265,8 +264,7 @@ angular.module('Application').service('Client', ['$http', '$interval', 'md5', 'N
Client.prototype.setConfig = function (config) {
var that = this;
// derive feature flags from edition
config.managed = config.edition === 'hostingprovider' || config.provider === 'caas';
config.managed = config.provider === 'caas';
angular.copy(config, this._config);