mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-01-13 15:07:49 +00:00
fix(#121): allow multiple instances of the same plugin
This commit is contained in:
parent
e3bb9ad4e2
commit
dc676327c2
3 changed files with 18 additions and 6 deletions
|
|
@ -113,7 +113,8 @@ class extends Component
|
|||
auth()->user(),
|
||||
$plugin['zip_entry_path'] ?? null,
|
||||
null,
|
||||
$plugin['logo_url'] ?? null
|
||||
$plugin['logo_url'] ?? null,
|
||||
allowDuplicate: true
|
||||
);
|
||||
|
||||
$this->dispatch('plugin-installed');
|
||||
|
|
|
|||
|
|
@ -164,7 +164,8 @@ class extends Component
|
|||
auth()->user(),
|
||||
null,
|
||||
config('services.trmnl.liquid_enabled') ? 'trmnl-liquid' : null,
|
||||
$recipe['icon_url'] ?? null
|
||||
$recipe['icon_url'] ?? null,
|
||||
allowDuplicate: true
|
||||
);
|
||||
|
||||
$this->dispatch('plugin-installed');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue