mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Fix the obj reference (#5749)
This commit is contained in:
@@ -202,10 +202,11 @@ export class ExtensionService {
|
||||
if (typeof value === 'string' ) {
|
||||
return this.evaluateExpression(value, context);
|
||||
} else {
|
||||
Object.keys(value).forEach( (key) => {
|
||||
value[key] = this.evaluateExpression(value[key], context);
|
||||
const duplicate = Object.assign({}, value);
|
||||
Object.keys(duplicate).forEach( (key) => {
|
||||
duplicate[key] = this.evaluateExpression(duplicate[key], context);
|
||||
});
|
||||
return value;
|
||||
return duplicate;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user