allows users to clear their slack settings

This commit is contained in:
Godfrey M 2023-02-16 08:43:12 -08:00
parent e9ab90eafc
commit 58801dbb0b

View file

@ -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');
}