Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
runspired committed Apr 22, 2017
1 parent 371b90e commit fda4dca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions addon/-private/system/model/internal-model.js
Original file line number Diff line number Diff line change
Expand Up @@ -437,8 +437,7 @@ export default class InternalModel {

switch (relationship.kind) {
case 'belongsTo':
uniqueSet.add(relationship.currentState);
uniqueSet.add(relationship.canonicalState);
uniqueSet.pushMany([relationship.currentState, relationship.canonicalState]);
return;
case 'hasMany':
uniqueSet.pushMany(relationship.currentState);
Expand Down

0 comments on commit fda4dca

Please sign in to comment.