[ADF-3872] Add live configuration for Process List Cloud on Demo Shell (#4218)

* [ADF-3872] Add live configuration for Process List Cloud on Demo Shell

* [ADF-3872] Remove whitespace
This commit is contained in:
davidcanonieto
2019-02-01 13:52:44 +00:00
committed by Eugenio Romano
parent d28c8dccc8
commit cbc8043d02
5 changed files with 60 additions and 14 deletions

View File

@@ -124,6 +124,12 @@ export class ConfigEditorComponent {
this.indentCode();
}
processListCloudConfClick() {
this.code = JSON.stringify(this.appConfig.config['adf-cloud-process-list']);
this.field = 'adf-cloud-process-list';
this.indentCode();
}
indentCode() {
setTimeout(() => {
this.editor.getAction('editor.action.formatDocument').run();