Skip to content
Snippets Groups Projects
Commit 2d4120eb authored by Marc Hanisch's avatar Marc Hanisch
Browse files

returns label if present, otherwise the name

parent 71b4c27e
No related branches found
No related tags found
1 merge request!38Feature use configurations data model
......@@ -163,6 +163,6 @@ export class DeviceProperty implements IDeviceProperty {
}
toString (): string {
return this.propertyName
return this.label || this.propertyName
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment