mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 13:44:06 -08:00
adds # to webhook channel trigger
This commit is contained in:
parent
a876703f8f
commit
ed06f32a7a
|
@ -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 = 'NA';
|
||||
$this->webhook_channel = null;
|
||||
}
|
||||
|
||||
|
||||
if($this->setting->webhook_endpoint != null && $this->setting->webhook_channel != null){
|
||||
$this->isDisabled= '';
|
||||
$this->isDisabled= '#NA';
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -107,7 +107,7 @@ class SlackSettingsForm extends Component
|
|||
$this->save_button = trans('general.save');
|
||||
}
|
||||
if($this->webhook_selected == 'microsoft' || $this->webhook_selected == 'google'){
|
||||
$this->webhook_channel = 'NA';
|
||||
$this->webhook_channel = '#NA';
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue