Skip to content

Commit

Permalink
Add another fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lan0 committed Jun 8, 2020
1 parent 03ee2a0 commit bca121e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addon/components/vertical-collection/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ const VerticalCollection = Component.extend({
run(() => {
const items = this.get('items');
const keyPath = this.get('key');
if (!items || items.length === 0) { return; }

this._scheduledActions.forEach(([action, index]) => {
const item = objectAt(items, index);
Expand Down

0 comments on commit bca121e

Please sign in to comment.