1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-21 16:18:28 +01:00

sort folder dropdown

This commit is contained in:
Kyle Spearrin 2016-09-10 23:31:52 -04:00
parent 37865c0531
commit a3b3e58e94
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@
<div class="list-section-item">
<label for="folder">Folder</label>
<select id="folder" name="FolderId" ng-model="site.folderId" bit-field>
<option ng-repeat="folder in folders" value="{{folder.id}}">{{folder.name}}</option>
<option ng-repeat="folder in folders | orderBy: ['name']" value="{{folder.id}}">{{folder.name}}</option>
</select>
</div>
<div class="list-section-item list-section-item-checkbox">

View File

@ -43,7 +43,7 @@
<div class="list-section-item">
<label for="folder">Folder</label>
<select id="folder" name="FolderId" ng-model="site.folderId" bit-field>
<option ng-repeat="folder in folders" value="{{folder.id}}">{{folder.name}}</option>
<option ng-repeat="folder in folders | orderBy: ['name']" value="{{folder.id}}">{{folder.name}}</option>
</select>
</div>
<div class="list-section-item list-section-item-checkbox">