Browse Source

Fix dashboard save

pull/2903/head
Igor Kulikov 6 years ago
parent
commit
e7e3c96495
  1. 5
      ui-ngx/src/app/modules/home/pages/dashboard/dashboard-form.component.ts

5
ui-ngx/src/app/modules/home/pages/dashboard/dashboard-form.component.ts

@ -95,6 +95,11 @@ export class DashboardFormComponent extends EntityComponent<Dashboard> {
this.entityForm.patchValue({configuration: {description: entity.configuration ? entity.configuration.description : ''}});
}
prepareFormValue(formValue: any): any {
formValue.configuration = {...(this.entity.configuration || {}), ...(formValue.configuration || {})};
return formValue;
}
onPublicLinkCopied($event) {
this.store.dispatch(new ActionNotificationShow(
{

Loading…
Cancel
Save