Commit cc645a938e9a44f582a82f699967d1deed695d66
1 parent
1e0b9fee
Code cleaning from PE comparison of master vs. develop/2.5.3
Showing
1 changed file
with
0 additions
and
8 deletions
@@ -284,13 +284,6 @@ function DashboardService($rootScope, $http, $q, $location, $filter) { | @@ -284,13 +284,6 @@ function DashboardService($rootScope, $http, $q, $location, $filter) { | ||
284 | } | 284 | } |
285 | dashboard.assignedCustomersText = assignedCustomersTitles.join(', '); | 285 | dashboard.assignedCustomersText = assignedCustomersTitles.join(', '); |
286 | } | 286 | } |
287 | - dashboard.assignedEdgesIds = []; | ||
288 | - if (dashboard.assignedEdges && dashboard.assignedEdges.length) { | ||
289 | - for (var j = 0; j < dashboard.assignedEdges.length; j++) { | ||
290 | - var assignedEdge = dashboard.assignedEdges[j]; | ||
291 | - dashboard.assignedEdgesIds.push(assignedEdge.edgeId.id); | ||
292 | - } | ||
293 | - } | ||
294 | return dashboard; | 287 | return dashboard; |
295 | } | 288 | } |
296 | 289 | ||
@@ -298,7 +291,6 @@ function DashboardService($rootScope, $http, $q, $location, $filter) { | @@ -298,7 +291,6 @@ function DashboardService($rootScope, $http, $q, $location, $filter) { | ||
298 | delete dashboard.publicCustomerId; | 291 | delete dashboard.publicCustomerId; |
299 | delete dashboard.assignedCustomersText; | 292 | delete dashboard.assignedCustomersText; |
300 | delete dashboard.assignedCustomersIds; | 293 | delete dashboard.assignedCustomersIds; |
301 | - delete dashboard.assignedEdgesIds; | ||
302 | return dashboard; | 294 | return dashboard; |
303 | } | 295 | } |
304 | 296 |