We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fafa5e8 + 61b1a04 commit 9d71c53Copy full SHA for 9d71c53
addon/mixins/_target_action_support.js
@@ -4,7 +4,6 @@
4
@module ember
5
*/
6
7
-import { context } from '../components/_internals';
8
import { get, computed } from '@ember/object';
9
import Mixin from '@ember/object/mixin';
10
import { assert } from '@ember/debug';
@@ -29,11 +28,7 @@ export default Mixin.create({
29
28
let actionContext = get(this, 'actionContext');
30
31
if (typeof actionContext === 'string') {
32
- let value = get(this, actionContext);
33
- if (value === undefined) {
34
- value = get(context.lookup, actionContext);
35
- }
36
- return value;
+ return get(this, actionContext);
37
} else {
38
return actionContext;
39
}
0 commit comments