adds # to webhook channel trigger

This commit is contained in:
Godfrey M 2024-01-31 12:54:30 -08:00
parent ed06f32a7a
commit 8a5b469ff8

View file

@ -80,12 +80,12 @@ class SlackSettingsForm extends Component
$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 = null;
$this->webhook_channel = '#NA';
}
if($this->setting->webhook_endpoint != null && $this->setting->webhook_channel != null){
$this->isDisabled= '#NA';
$this->isDisabled= '';
}
}