Skip to content

Commit

Permalink
send id instead of entry model
Browse files Browse the repository at this point in the history
  • Loading branch information
John Wesely committed Aug 12, 2024
1 parent c97e5e3 commit 5883547
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Livewire/FilamentForm/Show.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public function create()
);
}

$this->dispatch('entrySaved', $entryModel);
$this->dispatch('entrySaved', $entryModel->id);

if ($this->blockRedirect) {
return;
Expand Down

0 comments on commit 5883547

Please sign in to comment.