100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
Minor
Christian Bauer568afa6724d0
diff --git a/manager/client/src/main/java/org/openremote/manager/client/admin/users/AdminUserImpl.java b/manager/client/src/main/java/org/openremote/manager/client/admin/users/AdminUserImpl.javaindex bd9f53fba..d38b9a8c9 100644--- a/manager/client/src/main/java/org/openremote/manager/client/admin/users/AdminUserImpl.java+++ b/manager/client/src/main/java/org/openremote/manager/client/admin/users/AdminUserImpl.java@@ -416,21 +416,22 @@ public class AdminUserImpl extends FormViewImpl implements AdminUser {typeLoginPanel.setStyleName("layout horizontal wrap");add(typeLoginPanel);- if (deviceNotificationToken.getDeviceType() != null) {- FormGroup deviceTypeGroup = new FormGroup();- FormField deviceTypeField = new FormField();- FormLabel deviceTypeLabel = new FormLabel(managerMessages.registeredDeviceType());- deviceTypeLabel.addStyleName("larger");- deviceTypeGroup.setFormLabel(deviceTypeLabel);- deviceTypeGroup.setFormField(deviceTypeField);- FormOutputText deviceTypeOutput = new FormOutputText(deviceNotificationToken.getDeviceType());- deviceTypeField.add(deviceTypeOutput);- typeLoginPanel.add(deviceTypeGroup);- }+ FormGroup deviceTypeGroup = new FormGroup();+ FormField deviceTypeField = new FormField();+ FormLabel deviceTypeLabel = new FormLabel(managerMessages.registeredDeviceType());+ deviceTypeLabel.addStyleName("larger");+ deviceTypeGroup.setFormLabel(deviceTypeLabel);+ deviceTypeGroup.setFormField(deviceTypeField);+ FormOutputText deviceTypeOutput = new FormOutputText(+ deviceNotificationToken.getDeviceType() != null ? deviceNotificationToken.getDeviceType() : "-"+ );+ deviceTypeField.add(deviceTypeOutput);+ typeLoginPanel.add(deviceTypeGroup);FormGroup lastLoginGroup = new FormGroup();FormField lastLoginField = new FormField();FormLabel lastLoginLabel = new FormLabel(managerMessages.registeredDeviceLastLogin());+ lastLoginLabel.addStyleName("larger");lastLoginGroup.setFormLabel(lastLoginLabel);lastLoginGroup.setFormField(lastLoginField);FormOutputText lastLoginOutput = new FormOutputText(