I am trying to display data from a ‘many to many’ table (SurvivorStocks) that shows stockOwned by a specific user of a specific stock type or ‘Survivor’. I can utilize the values for the SurvivorStocks, but when I try to utilize the name from the ‘Survivors’ table in the UI, I can’t. I am sure I am missing something very basic but I have been trying to wrap my head around this trying to figure it out.
Here is my table structure:
Here is the code I have built:
And when I do a print on the object I created from the loaded data, here is the object I get in the console:
I am able to map, stockOwned, just fine to the UI, but when I try to map survivor.name, nothing happens. When I try to isolate survivor.name in the Logic side, I can’t seem to do so. What am I missing here?