Skip to content

Commit

Permalink
Merge pull request #9 from discoverydesign/fix-6
Browse files Browse the repository at this point in the history
Fix - More reliable way of pulling form record
  • Loading branch information
discoveryjames authored Aug 22, 2024
2 parents a59ce97 + c165cd2 commit 72ed979
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Forms/Components/GazeBanner.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public function getIdentifier()
public function refreshForm()
{
// Very hacky, maybe a better solution for this?
$this->getLivewire()->mount($this->getLivewire()->getForm('form')->getRecord()?->id);
$this->getLivewire()->mount($this->getRecord()?->id);
}

/**
Expand Down

0 comments on commit 72ed979

Please sign in to comment.