diff --git a/packages/ember-glimmer/lib/components/link-to.ts b/packages/ember-glimmer/lib/components/link-to.ts index 1092002024d..66475a03d3f 100644 --- a/packages/ember-glimmer/lib/components/link-to.ts +++ b/packages/ember-glimmer/lib/components/link-to.ts @@ -592,10 +592,7 @@ const LinkComponent = EmberComponent.extend({ @property active @private */ - active: computed('attrs.params', '_active', function computeLinkToComponentActiveClass(this: any) { - let currentState = get(this, '_routing.currentState'); - if (!currentState) { return false; } - + active: computed('activeClass', '_active', function computeLinkToComponentActiveClass(this: any) { return this.get('_active') ? get(this, 'activeClass') : false; }),