Skip to content

Commit 138852a

Browse files
committed
Order by time in deleted logs modal
Remove unused order by from logs nav
1 parent 2c03a59 commit 138852a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ <h2 class="ui header">
4141
<div class="twelve wide right column">
4242
<!-- display all logs -->
4343
<div class="ui divided very relaxed animated selection list">
44-
<a class="item" ng-repeat="log in logs track by log.key | orderBy:'-timestamp'" ng-class="{ active: $index == logSelectedIndex }"
44+
<a class="item" ng-repeat="log in logs track by log.key" ng-class="{ active: $index == logSelectedIndex }"
4545
ng-click="logCtrl.clickLogFn($index, log)">
4646
<div class="right floated date">{{ log.timestamp | date:'MMM dd, yyyy' }}</div>
4747
<div class="description">
@@ -118,7 +118,7 @@ <h2 class="ui header">
118118
</tr>
119119
</thead>
120120
<tbody>
121-
<tr ng-repeat="log in remLogs track by log.key">
121+
<tr ng-repeat="log in remLogs | orderBy:'-timestamp' track by log.key">
122122
<td>{{ $index + 1 }}</td>
123123
<td colspan="3">{{ log.title }}</td>
124124
<td class="positive"><input type="radio" name="option-{{$index}}" value="restore" ng-model="log.option"></td>

0 commit comments

Comments
 (0)