mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-01-14 23:47:57 +00:00
fix: enable trmnl-liquid renderer in OSS catalog
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
de1a390574
commit
c94dd89361
1 changed files with 2 additions and 1 deletions
|
|
@ -81,6 +81,7 @@ class extends Component
|
||||||
'logo_url' => Arr::get($plugin, 'logo_url'),
|
'logo_url' => Arr::get($plugin, 'logo_url'),
|
||||||
'screenshot_url' => Arr::get($plugin, 'screenshot_url'),
|
'screenshot_url' => Arr::get($plugin, 'screenshot_url'),
|
||||||
'learn_more_url' => Arr::get($plugin, 'author_bio.learn_more_url'),
|
'learn_more_url' => Arr::get($plugin, 'author_bio.learn_more_url'),
|
||||||
|
'preferred_renderer' => Arr::get($plugin, 'byos.byos_laravel.renderer'),
|
||||||
];
|
];
|
||||||
})
|
})
|
||||||
->sortBy('name')
|
->sortBy('name')
|
||||||
|
|
@ -112,7 +113,7 @@ class extends Component
|
||||||
$plugin['zip_url'],
|
$plugin['zip_url'],
|
||||||
auth()->user(),
|
auth()->user(),
|
||||||
$plugin['zip_entry_path'] ?? null,
|
$plugin['zip_entry_path'] ?? null,
|
||||||
null,
|
config('services.trmnl.liquid_enabled') ? $plugin['preferred_renderer'] : null,
|
||||||
$plugin['logo_url'] ?? null,
|
$plugin['logo_url'] ?? null,
|
||||||
allowDuplicate: true
|
allowDuplicate: true
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue