Allow ConversationController.load() to be called more than once

pull/1/head
Scott Nonnenberg 7 years ago committed by Scott Nonnenberg
parent 2ffabdcdd9
commit c81d3f5c0b
No known key found for this signature in database
GPG Key ID: 5F82280C35134661

@ -166,9 +166,6 @@
},
load: function() {
console.log('ConversationController: starting initial fetch');
if (this._initialPromise) {
throw new Error('ConversationController.load() has already been called!');
}
this._initialPromise = new Promise(function(resolve, reject) {
conversations.fetch().then(function() {

Loading…
Cancel
Save