$record in TableAction resolves to the first record in the list instead of current item.
I have a user resource where I can make users admins or revoke their admin access. I'm using a table action to do this as I don't need an Edit page. However, when I output the result of the
$record
variable. It always resolves to the first item in the list. Action on first item and second item DD the same thing.![](https://answer-overflow-discord-attachments.s3.amazonaws.com/1128318381775401010/image.png)
![](https://answer-overflow-discord-attachments.s3.amazonaws.com/1128318382089969844/image.png)
![](https://answer-overflow-discord-attachments.s3.amazonaws.com/1128318382417117225/image.png)
1 Reply
really strange issue, im not sure what im doing wrong