This repository has been archived by the owner on May 7, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Paper UI] Sort Thing properties by key name alphabetically (#5812)
Signed-off-by: Wouter Born <eclipse@maindrain.net>
- Loading branch information
Showing
2 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
...ns/ui/org.eclipse.smarthome.ui.paper/web-src/js/things/configuration.thingproperties.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<table class="thing-properties-table table"> | ||
<tr ng-show="key != 'firmwareVersion'" ng-repeat="(key,value) in thing.properties"> | ||
<tr ng-show="key != 'firmwareVersion'" ng-repeat="key in getKeysArray(thing.properties) | orderBy:'+'"> | ||
<td>{{key}}</td> | ||
<td>{{value}}</td> | ||
<td>{{thing.properties[key]}}</td> | ||
</tr> | ||
</table> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters