Browse Source

Merge pull request #12912 from dashevchenko/edqsEntityTitleFix

Fixed missed "title" entity field subscription
pull/12916/head
Viacheslav Klimov 1 year ago
committed by GitHub
parent
commit
461645006b
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      common/data/src/main/java/org/thingsboard/server/common/data/edqs/fields/EntityFields.java

1
common/data/src/main/java/org/thingsboard/server/common/data/edqs/fields/EntityFields.java

@ -148,6 +148,7 @@ public interface EntityFields {
default String getAsString(String key) {
return switch (key) {
case "createdTime" -> Long.toString(getCreatedTime());
case "title" -> getName();
case "type" -> getType();
case "label" -> getLabel();
case "additionalInfo" -> getAdditionalInfo();

Loading…
Cancel
Save