Skip to content

Conversation

@Emerson
Copy link

@Emerson Emerson commented Mar 6, 2020

Outlined the problem in #317. This is a simple fix that has resolved the issue for me and still passes all tests. Happy to put in a little more work on this, but would need some guidance on where to look 👀.

run(() => {
const items = this.get('items');
const keyPath = this.get('key');
if (!items || items.length === 0) { return; }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should also not fire below if index exceeds the bounds of length. Otherwise this LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants