diff --git a/app/Http/Livewire/SlackSettingsForm.php b/app/Http/Livewire/SlackSettingsForm.php index 1fda9a118c..cd34b450a8 100644 --- a/app/Http/Livewire/SlackSettingsForm.php +++ b/app/Http/Livewire/SlackSettingsForm.php @@ -39,6 +39,9 @@ class SlackSettingsForm extends Component if(empty($this->slack_channel || $this->slack_endpoint)){ $this->isDisabled= 'disabled'; } + if(empty($this->slack_endpoint && $this->slack_channel)){ + $this->isDisabled= ''; + } return view('livewire.slack-settings-form'); }