mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-12-29 20:04:59 +08:00
fix(threads): Right-align the timestamps in the thread list
This commit is contained in:
parent
6ec0045677
commit
011431f93a
2 changed files with 6 additions and 1 deletions
|
@ -195,6 +195,9 @@
|
|||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.list-column-Date {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.timestamp {
|
||||
font-size: @font-size-small;
|
||||
|
|
|
@ -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: =>
|
||||
|
|
Loading…
Reference in a new issue