From f57bd5a10b6c9ece6a2cd5204913435265241d4f Mon Sep 17 00:00:00 2001 From: deaflynx Date: Wed, 4 Nov 2020 07:08:05 +0200 Subject: [PATCH] Code review: dashboard.service beautify --- ui-ngx/src/app/core/http/dashboard.service.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/ui-ngx/src/app/core/http/dashboard.service.ts b/ui-ngx/src/app/core/http/dashboard.service.ts index c039fed4da..f4355d7ebe 100644 --- a/ui-ngx/src/app/core/http/dashboard.service.ts +++ b/ui-ngx/src/app/core/http/dashboard.service.ts @@ -165,12 +165,14 @@ export class DashboardService { public assignDashboardToEdge(edgeId: string, dashboardId: string, config?: RequestConfig): Observable { - return this.http.post(`/api/edge/${edgeId}/dashboard/${dashboardId}`, - null, defaultHttpOptionsFromConfig(config)); + return this.http.post(`/api/edge/${edgeId}/dashboard/${dashboardId}`, null, + defaultHttpOptionsFromConfig(config)); } - public unassignDashboardFromEdge(edgeId: string, dashboardId: string, config?: RequestConfig) { - return this.http.delete(`/api/edge/${edgeId}/dashboard/${dashboardId}`, defaultHttpOptionsFromConfig(config)); + public unassignDashboardFromEdge(edgeId: string, dashboardId: string, + config?: RequestConfig) { + return this.http.delete(`/api/edge/${edgeId}/dashboard/${dashboardId}`, + defaultHttpOptionsFromConfig(config)); } }