Skip to content

Commit

Permalink
Merge pull request #18742 from cloutierlp/master
Browse files Browse the repository at this point in the history
[BUGFIX beta] Fix setDiff computed macro used within glimmer component
  • Loading branch information
Chris Garrett committed Feb 18, 2020
2 parents 2300509 + 2d6d605 commit 7e09bb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/@ember/object/lib/computed/reduce_computed_macros.js
Original file line number Diff line number Diff line change
Expand Up @@ -1176,8 +1176,8 @@ export function setDiff(setAProperty, setBProperty) {
);

return computed(`${setAProperty}.[]`, `${setBProperty}.[]`, function() {
let setA = this.get(setAProperty);
let setB = this.get(setBProperty);
let setA = get(this, setAProperty);
let setB = get(this, setBProperty);

if (!isArray(setA)) {
return emberA();
Expand Down

0 comments on commit 7e09bb2

Please sign in to comment.