Skip to content

Commit

Permalink
Merge pull request #16281 from lennyburdette/patch-1
Browse files Browse the repository at this point in the history
fix(link-to): add id to "inactive loading state" warning
  • Loading branch information
rwjblue authored Feb 24, 2018
2 parents 3f03353 + 3509c99 commit 623336b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/ember-glimmer/lib/components/link-to.ts
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,9 @@ const LinkComponent = EmberComponent.extend({

if (get(this, 'loading')) {
// tslint:disable-next-line:max-line-length
warn('This link-to is in an inactive loading state because at least one of its parameters presently has a null/undefined value, or the provided route name is invalid.', false);
warn('This link-to is in an inactive loading state because at least one of its parameters presently has a null/undefined value, or the provided route name is invalid.', false, {
id: 'ember-glimmer.link-to.inactive-loading-state'
});
return false;
}

Expand Down

0 comments on commit 623336b

Please sign in to comment.