Skip to content

Commit 623336b

Browse files
authored
Merge pull request #16281 from lennyburdette/patch-1
fix(link-to): add id to "inactive loading state" warning
2 parents 3f03353 + 3509c99 commit 623336b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/ember-glimmer/lib/components/link-to.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,9 @@ const LinkComponent = EmberComponent.extend({
628628

629629
if (get(this, 'loading')) {
630630
// tslint:disable-next-line:max-line-length
631-
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);
631+
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, {
632+
id: 'ember-glimmer.link-to.inactive-loading-state'
633+
});
632634
return false;
633635
}
634636

0 commit comments

Comments
 (0)