GUACAMOLE-526: Provide key/value pairs via toArray filter. Consistently return same array for same object.

This commit is contained in:
Michael Jumper
2018-04-30 12:42:07 -07:00
parent d22f065fea
commit f7ca11df50
2 changed files with 47 additions and 5 deletions

View File

@@ -32,7 +32,7 @@
<tr>
<th>{{'MANAGE_CONNECTION.FIELD_HEADER_PROTOCOL' | translate}}</th>
<td>
<select ng-model="connection.protocol" ng-options="protocol.name as getProtocolName(protocol.name) | translate for protocol in protocols | toArray | orderBy: name"></select>
<select ng-model="connection.protocol" ng-options="protocol.value.name as getProtocolName(protocol.value.name) | translate for protocol in protocols | toArray | orderBy: value.name"></select>
</td>
</tr>
</table>