Browse Source

UI: Fix save widget type method.

pull/9193/head
Igor Kulikov 3 years ago
parent
commit
982f25f481
  1. 2
      ui-ngx/src/app/core/http/widget.service.ts

2
ui-ngx/src/app/core/http/widget.service.ts

@ -207,7 +207,7 @@ export class WidgetService {
public saveWidgetType(widgetTypeDetails: WidgetTypeDetails,
config?: RequestConfig): Observable<WidgetTypeDetails> {
return this.http.post<WidgetTypeDetails>(`/api/widgetType`,
return this.http.post<WidgetTypeDetails>(`/api/widgetType`, widgetTypeDetails,
defaultHttpOptionsFromConfig(config));
}

Loading…
Cancel
Save