Target notifications component for refresh

This commit is contained in:
root
2026-01-31 03:10:02 +02:00
parent 99f9dacba9
commit 475fd6d072

View File

@@ -15,6 +15,11 @@
}
succeed(() => {
if (window.Livewire?.dispatchTo) {
window.Livewire.dispatchTo('notifications', 'notificationsSent');
return;
}
window.Livewire.dispatch('notificationsSent');
});
});