Fix inbox comparator
This commit is contained in:
parent
4716754209
commit
61581bae7f
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@
|
||||||
|
|
||||||
window.inbox = new Whisper.ConversationCollection([], {
|
window.inbox = new Whisper.ConversationCollection([], {
|
||||||
comparator: function(model) {
|
comparator: function(model) {
|
||||||
return -model.active_at;
|
return -model.get('active_at');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue