mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 22:37:28 -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)){
|
if(empty($this->slack_channel || $this->slack_endpoint)){
|
||||||
$this->isDisabled= 'disabled';
|
$this->isDisabled= 'disabled';
|
||||||
}
|
}
|
||||||
|
if(empty($this->slack_endpoint && $this->slack_channel)){
|
||||||
|
$this->isDisabled= '';
|
||||||
|
}
|
||||||
return view('livewire.slack-settings-form');
|
return view('livewire.slack-settings-form');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue