UI: Attribute Service pass config on delete attributes
This commit is contained in:
parent
c6f037073b
commit
92a7ee9e7d
@ -228,7 +228,7 @@ function AttributeService($http, $q, $filter, types, telemetryWebsocketService)
|
|||||||
}
|
}
|
||||||
var deleteEntityAttributesPromise;
|
var deleteEntityAttributesPromise;
|
||||||
if (deleteAttributes.length) {
|
if (deleteAttributes.length) {
|
||||||
deleteEntityAttributesPromise = deleteEntityAttributes(entityType, entityId, attributeScope, deleteAttributes);
|
deleteEntityAttributesPromise = deleteEntityAttributes(entityType, entityId, attributeScope, deleteAttributes, config);
|
||||||
}
|
}
|
||||||
if (Object.keys(attributesData).length) {
|
if (Object.keys(attributesData).length) {
|
||||||
var url = '/api/plugins/telemetry/' + entityType + '/' + entityId + '/' + attributeScope;
|
var url = '/api/plugins/telemetry/' + entityType + '/' + entityId + '/' + attributeScope;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user