I’m having some trouble trying to create a UI feature within my Ember app. What this feature entails is having a dynamically generated list of elements where, whenever the div element on line 13 is clicked, the FileThreads component related to that particular element can be seen. I’ve been having trouble figuring out how to do this in Ember, and for the moment the code will display every FileThreads component regardless of which div element is clicked.
My initial idea was to define this.id as id from the div element on line 13 in the Handlebar file and use this.id within the test getter to distinguish between the relevant FileThreads component and the other FileThreads. Of course, that’s not what the code in the test getter is doing, but I got too confused with what I was trying to do.
Thank you in advance.