mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-03-14 20:33:40 +00:00
feat: added UI for configuration template in recipe settings
Some checks are pending
tests / ci (push) Waiting to run
Some checks are pending
tests / ci (push) Waiting to run
This commit is contained in:
parent
49222838c4
commit
4e345c493d
8 changed files with 262 additions and 9 deletions
|
|
@ -569,11 +569,10 @@ HTML;
|
|||
}
|
||||
|
||||
#[On('config-updated')]
|
||||
public function refreshPlugin()
|
||||
public function refreshPlugin(): void
|
||||
{
|
||||
// This pulls the fresh 'configuration' from the DB
|
||||
// and re-triggers the @if check in the Blade template
|
||||
$this->plugin = $this->plugin->fresh();
|
||||
$this->configuration_template = $this->plugin->configuration_template ?? [];
|
||||
}
|
||||
|
||||
// Laravel Livewire computed property: access with $this->parsed_urls
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue