Add provider fallback in webadmin
This is a bug and requires an upgrade to set the provider again
This commit is contained in:
@@ -212,6 +212,9 @@ angular.module('Application').service('Client', ['$http', 'md5', 'Notification',
|
||||
Client.prototype.setConfig = function (config) {
|
||||
var that = this;
|
||||
|
||||
// provide fallback to caas
|
||||
if (!config.provider) config.provider = 'caas';
|
||||
|
||||
angular.copy(config, this._config);
|
||||
|
||||
this._configListener.forEach(function (callback) {
|
||||
|
||||
Reference in New Issue
Block a user