diff --git a/app/Http/Livewire/SlackSettingsForm.php b/app/Http/Livewire/SlackSettingsForm.php index c971236d520d..97f0c5bb7329 100644 --- a/app/Http/Livewire/SlackSettingsForm.php +++ b/app/Http/Livewire/SlackSettingsForm.php @@ -80,12 +80,12 @@ public function mount() { $this->webhook_botname = $this->setting->webhook_botname; $this->webhook_options = $this->setting->webhook_selected; if($this->webhook_selected == 'microsoft' || $this->webhook_selected == 'google'){ - $this->webhook_channel = 'NA'; + $this->webhook_channel = null; } if($this->setting->webhook_endpoint != null && $this->setting->webhook_channel != null){ - $this->isDisabled= ''; + $this->isDisabled= '#NA'; } } @@ -107,7 +107,7 @@ public function updatedWebhookSelected() { $this->save_button = trans('general.save'); } if($this->webhook_selected == 'microsoft' || $this->webhook_selected == 'google'){ - $this->webhook_channel = 'NA'; + $this->webhook_channel = '#NA'; } }