Duplicate notifications from table action on page load
I have a UserOrderResource, where I have added a table action that navigates to the GroupOrderResource record for each UserOrder record:
I tried to add the conditional logic and notification to
->before()
, but it was ignored entirely and when clicking the action, so I added this logic directly to the ->url()
method.
But I experience some strange behaviour, as these notifications are sent when the table is loaded, which makes sense as the url is generated before the action is clicked. But each notification is sent twice, which is odd to me.
Is this due to my action code, or is filament triggering the action code twice on page load?0 Replies