Fix: Dont update form when not using meilisearch
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
1178b011e0
commit
70e085a49e
|
@ -11,6 +11,10 @@ class UpdateParticipantSearchIndexAction
|
|||
|
||||
public function handle(Form $form): void
|
||||
{
|
||||
if (config('scout.driver') !== 'meilisearch') {
|
||||
return;
|
||||
}
|
||||
|
||||
$form->searchableUsing()->updateIndexSettings(
|
||||
$form->participantsSearchableAs(),
|
||||
[
|
||||
|
|
Loading…
Reference in New Issue