removed broadcast asset updates event to transport
This commit is contained in:
parent
6698a8f8f5
commit
a6a29513f6
@ -697,7 +697,6 @@ public class DefaultTbClusterService implements TbClusterService {
|
|||||||
@Override
|
@Override
|
||||||
public void onAssetUpdated(Asset entity, Asset old) {
|
public void onAssetUpdated(Asset entity, Asset old) {
|
||||||
var created = old == null;
|
var created = old == null;
|
||||||
broadcastEntityChangeToTransport(entity.getTenantId(), entity.getId(), entity, null);
|
|
||||||
if (old != null) {
|
if (old != null) {
|
||||||
boolean assetTypeChanged = !entity.getAssetProfileId().equals(old.getAssetProfileId());
|
boolean assetTypeChanged = !entity.getAssetProfileId().equals(old.getAssetProfileId());
|
||||||
if (assetTypeChanged) {
|
if (assetTypeChanged) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user