Hello guys,
I have a little trouble withextracting an information out of the last object of an array. I've just copied the path out of the debug but it doesnt work either. Would be nice if somebody could help!
the error message that pops up is "TypeError: Cannot read property 'title' of undefined"
The count var is set to an object payload, so the count is at count.payload.
The error is object -1 reults in NaN, so JS is looking for a title in the property NaN.
stichwort is set to an object payload, so your include would be on stichwort.payload, which would contains the originals object array element 1 title value, if the count was correct.