From 2d6d60541d918285b00eb3a2c20bf74c6c4c1547 Mon Sep 17 00:00:00 2001 From: Louis-Philippe Cloutier Date: Thu, 13 Feb 2020 19:00:11 -0500 Subject: [PATCH] [BUGFIX beta] Fix setDiff computed macro used within glimmer component --- packages/@ember/object/lib/computed/reduce_computed_macros.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/@ember/object/lib/computed/reduce_computed_macros.js b/packages/@ember/object/lib/computed/reduce_computed_macros.js index 48127927915..c7a2ae705fd 100644 --- a/packages/@ember/object/lib/computed/reduce_computed_macros.js +++ b/packages/@ember/object/lib/computed/reduce_computed_macros.js @@ -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();