Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions addon/mixins/model.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,7 @@ export default Ember.Mixin.create({
var value = this.reloadRelationship(propertyName);

//return the promise, clearing the query params and ajax options properties
return value.catch(function (error) {
if (error instanceof DS.AbortError) {
//ignore aborted requests
return;
}
throw error;
}).finally(function () {
return value.finally(function () {
if (self.get(_queryIdPropertyName) !== currentQueryId) {
//don't clear parameters if they've been set by another request
return;
Expand Down