Fix ordering labels

stable
Jesús Espino 2017-02-15 12:13:27 +01:00 committed by David Barragán Merino
parent 63f116d4db
commit 86184a9a6c
2 changed files with 5 additions and 5 deletions

View File

@ -27,17 +27,17 @@ nav.history-tabs
span(
translate="COMMENTS.OLDER_FIRST"
ng-if="onReverse"
ng-if="!onReverse"
)
tg-svg(
svg-icon="icon-arrow-down"
ng-if="onReverse"
ng-if="!onReverse"
)
span(
translate="COMMENTS.RECENT_FIRST"
ng-if="!onReverse"
ng-if="onReverse"
)
tg-svg(
svg-icon="icon-arrow-up"
ng-if="!onReverse"
ng-if="onReverse"
)

View File

@ -32,8 +32,8 @@ class HistorySectionController
@.deleting = null
@.editMode = {}
@.viewComments = true
@._loadHistory()
@.reverse = @storage.get("orderComments")
@._loadHistory()
_loadHistory: () ->
@rs.history.get(@.name, @.id).then (history) =>