mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 13:44:06 -08:00
allows users to clear their slack settings
This commit is contained in:
parent
e9ab90eafc
commit
58801dbb0b
|
@ -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');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue