@GELight wrote:
Hi,
. what is the best way to filter my store result? If I try any way to use the filter method, my result will be NULL.
This is my current code:
categories: computed('store', function() { return this.get('store').findAll('category').then((categories) => { categories.filter((category) => { return (category.get('title').indexOf('*') === -1); }); }); }),
Best regards, Mario
Posts: 1
Participants: 1