fix(threads): Right-align the timestamps in the thread list

This commit is contained in:
Ben Gotow 2016-02-26 15:00:56 -08:00
parent 6ec0045677
commit 011431f93a
2 changed files with 6 additions and 1 deletions

View file

@ -195,6 +195,9 @@
display: flex;
align-items: center;
}
.list-column-Date {
text-align: right;
}
.timestamp {
font-size: @font-size-small;

View file

@ -17,7 +17,9 @@ class NylasSyncStatusStore extends NylasStore
AccountStore.accounts().forEach (item) =>
query = DatabaseStore.findJSONBlob("NylasSyncWorker:#{item.id}")
@_subscriptions[item.id] ?= Rx.Observable.fromQuery(query).subscribe (json) =>
@_statesByAccount[item.id] = json ? {}
state = _.extend({}, json ? {})
delete state.cursor
@_statesByAccount[item.id] = state
@trigger()
state: =>