Commit 92a7ee9e7dbcf8de0e4a72996d4ac03e77a8bd2f

Authored by Valerii Sosliuk
1 parent c6f03707

UI: Attribute Service pass config on delete attributes

@@ -228,7 +228,7 @@ function AttributeService($http, $q, $filter, types, telemetryWebsocketService) @@ -228,7 +228,7 @@ function AttributeService($http, $q, $filter, types, telemetryWebsocketService)
228 } 228 }
229 var deleteEntityAttributesPromise; 229 var deleteEntityAttributesPromise;
230 if (deleteAttributes.length) { 230 if (deleteAttributes.length) {
231 - deleteEntityAttributesPromise = deleteEntityAttributes(entityType, entityId, attributeScope, deleteAttributes); 231 + deleteEntityAttributesPromise = deleteEntityAttributes(entityType, entityId, attributeScope, deleteAttributes, config);
232 } 232 }
233 if (Object.keys(attributesData).length) { 233 if (Object.keys(attributesData).length) {
234 var url = '/api/plugins/telemetry/' + entityType + '/' + entityId + '/' + attributeScope; 234 var url = '/api/plugins/telemetry/' + entityType + '/' + entityId + '/' + attributeScope;