. 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.
Unfortunately I didn’t found no other way to filter the categories list object but by the way … My rendered template is still empty.
hey,
I think you need to refactor that code a little bit.
First thing is findAll returns a promise object not an actual return object,
so it’s better to do request in sepearte computed property, or even better in model hook.
Then you can easily write computed property that waits for model and then resolves with filtered data
Remember that in templates you don’t have access to routes properties, only to those in controller,
so define properties there or use setupController hook