fix(#121): allow multiple instances of the same plugin

This commit is contained in:
Benjamin Nussbaum 2026-01-06 14:28:39 +01:00
parent e3bb9ad4e2
commit dc676327c2
3 changed files with 18 additions and 6 deletions

View file

@ -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');

View file

@ -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');