Fix bug in panels controller
Previously, we'd create a new model instance even when one already existed in the inbox.
This commit is contained in:
parent
9474b16eba
commit
ebc8846fcb
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@
|
||||||
|
|
||||||
window.getConversation = function(attrs) {
|
window.getConversation = function(attrs) {
|
||||||
var conversation = window.inbox.get(attrs.id) || attrs;
|
var conversation = window.inbox.get(attrs.id) || attrs;
|
||||||
conversation = conversations.add(attrs);
|
conversation = conversations.add(conversation);
|
||||||
return conversation;
|
return conversation;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue