From 8a5b469ff853a5156ec55b4e61bd8a2a819385a6 Mon Sep 17 00:00:00 2001 From: Godfrey M Date: Wed, 31 Jan 2024 12:54:30 -0800 Subject: [PATCH] adds # to webhook channel trigger --- app/Http/Livewire/SlackSettingsForm.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Livewire/SlackSettingsForm.php b/app/Http/Livewire/SlackSettingsForm.php index 97f0c5bb7..86f21e015 100644 --- a/app/Http/Livewire/SlackSettingsForm.php +++ b/app/Http/Livewire/SlackSettingsForm.php @@ -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= ''; } }