From 7b84d09e09867f4d81cf1412fe4fb06d6e8da338 Mon Sep 17 00:00:00 2001 From: Oskar-Mikael Date: Sun, 31 Aug 2025 13:37:14 +0200 Subject: [PATCH] Fix setting of bot class --- app/Livewire/CreateEditBot.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Livewire/CreateEditBot.php b/app/Livewire/CreateEditBot.php index 13dacb1..ef7c416 100644 --- a/app/Livewire/CreateEditBot.php +++ b/app/Livewire/CreateEditBot.php @@ -71,8 +71,7 @@ class CreateEditBot extends Component public function updatedClass($value) { - $this->class = $this->classList[$value]; - $this->configSchema = $this->classList[$value]::configSchema(); + $this->configSchema = $this->class::configSchema(); } protected function rules(): array