mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
remove ACA related code from extensions
This commit is contained in:
parent
63399f6830
commit
c885f6d303
@ -35,20 +35,12 @@ export class ExtensionLoaderService {
|
||||
this.loadConfig(configPath, 0).then(result => {
|
||||
let config = result.config;
|
||||
|
||||
const override = sessionStorage.getItem('aca.extension.config');
|
||||
const override = sessionStorage.getItem('app.extension.config');
|
||||
if (override) {
|
||||
config = JSON.parse(override);
|
||||
}
|
||||
|
||||
const externalPlugins =
|
||||
localStorage.getItem('experimental.external-plugins') ===
|
||||
'true';
|
||||
|
||||
if (
|
||||
externalPlugins &&
|
||||
config.$references &&
|
||||
config.$references.length > 0
|
||||
) {
|
||||
if (config.$references && config.$references.length > 0) {
|
||||
const plugins = config.$references.map((name, idx) =>
|
||||
this.loadConfig(`${pluginsPath}/${name}`, idx)
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user