[ADF-5391] Cannot update multi-value metadata property (#2146)

* [ADF-5391] Cannot update multi-value metadata property

* * fix lint

* * remove unwanted lints

* fix upload screenshot

* fix upload screenshot

Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
This commit is contained in:
Dharan
2021-05-19 02:02:47 +05:30
committed by GitHub
parent 39541bf078
commit fa998cdd3e
7 changed files with 71 additions and 99 deletions

View File

@@ -278,9 +278,9 @@ export class AppExtensionService implements RuleContext {
presets = this.filterDisabled(mergeObjects(presets, ...elements));
try {
this.appConfig.config['content-metadata'] = { presets };
this.appConfig.config['content-metadata'].presets = presets;
} catch (error) {
this.logger.error(error, '- could not change content-metadata from app.config -');
this.logger.error(error, '- could not change content-metadata presets from app.config -');
}
return { presets };