We can't do this immediately because the attachments live on the feedback event. However, on the list (left side where we render the icons), we only have access to the feedback issue. So we don't know right now whether there are screenshots or not.
Possible solutions to this would be:
[backend] add a flag on the issue to indicate whether any/latest event has attachments
[backend] add the latest event ID to the feedback issue
[backend] add the attachments to the issue
[frontend] do an additional API call to fetch the latest event from the feedback item
We can't do this immediately because the attachments live on the feedback event. However, on the list (left side where we render the icons), we only have access to the feedback issue. So we don't know right now whether there are screenshots or not.
Possible solutions to this would be: