an.leclerc's avatar

Problem with dispatch on parent component

Hi,

I've a component (lead-not-assigned.blade.php)

And his child component (lead-not-assigned-card.blade.php) :

But dispatch does not work ! dossiers method in parent component always display lead whereas it's not an not assigned lead anymore. Anyone has an idea ?

0 likes
3 replies
krishnabinstellar-droid's avatar

Probably a cache issue, try like this it should do the rest automatically by global $this->dispatch('lead-assigned'); if still not works then try resetting your pagination

an.leclerc's avatar

even if I remove pagination and clear all caches, it doesn't work

an.leclerc's avatar

problem solved... there was an sql error so I passed into the exception

Please or to participate in this conversation.