Skip to content

Commit

Permalink
fix: invert check for normal collection (#485)
Browse files Browse the repository at this point in the history
* fix: invert check for normal collection

* Update component.js
  • Loading branch information
jithine committed Oct 8, 2019
1 parent 1cbd4ad commit 5928f28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/collections-flyout/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default Component.extend({
defaultCollection = collection;
}

return collection.type === 'normal';
return collection.type !== 'default';
});

return defaultCollection ? [defaultCollection, ...normalCollections] : normalCollections;
Expand Down

0 comments on commit 5928f28

Please sign in to comment.