mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
fix provider check
This commit is contained in:
@@ -73,6 +73,8 @@ export class SettingsService {
|
|||||||
/** @deprecated in 1.7.0 */
|
/** @deprecated in 1.7.0 */
|
||||||
public setProviders(providers: string) {
|
public setProviders(providers: string) {
|
||||||
this.logService.log(`SettingsService.aetProviders is deprecated. Use the app-config.json`);
|
this.logService.log(`SettingsService.aetProviders is deprecated. Use the app-config.json`);
|
||||||
this.storage.setItem(AppConfigValues.PROVIDERS, providers);
|
if (providers) {
|
||||||
|
this.storage.setItem(AppConfigValues.PROVIDERS, providers);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user