- updateconfig(event) {
- const config = {
- metadata: this.xappMetadata,
- descriptor: this.xappConfigSchema,
- config: event,
- layout: this.xappLayout
- };
- this.loadingDialogService.startLoading('Updating ' + this.data.xapp.name + ' configuration');
- this.appMgrService.putConfig(this.data.instanceKey, config)
+ updateconfig(config: any) {
+ this.loadingDialogService.startLoading('Updating ' + this.data.xapp + ' configuration');
+ this.appMgrService.putConfig(this.data.instanceKey, JSON.parse(config))