mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
not use testconfig if is not present (#5758)
This commit is contained in:
@@ -44,7 +44,7 @@ export class ApiService {
|
||||
}
|
||||
|
||||
if (clientIdOrAppConfig && typeof clientIdOrAppConfig !== 'string') {
|
||||
this.config = { ...browser.params.testConfig.appConfig, ...clientIdOrAppConfig };
|
||||
this.config = { ...this.config, ...clientIdOrAppConfig };
|
||||
|
||||
this.config.hostEcm = clientIdOrAppConfig.hostEcm ? clientIdOrAppConfig.hostEcm : browser.params.testConfig.appConfig.ecmHost;
|
||||
this.config.hostBpm = clientIdOrAppConfig.hostBpm ? clientIdOrAppConfig.hostBpm : browser.params.testConfig.appConfig.bpmHost;
|
||||
|
Reference in New Issue
Block a user