Skip to content

Commit

Permalink
adds # to webhook channel trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
Godmartinz committed Jan 31, 2024
1 parent a876703 commit ed06f32
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/Http/Livewire/SlackSettingsForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,12 @@ public function mount() {
$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';
}

}
Expand All @@ -107,7 +107,7 @@ public function updatedWebhookSelected() {
$this->save_button = trans('general.save');
}
if($this->webhook_selected == 'microsoft' || $this->webhook_selected == 'google'){
$this->webhook_channel = 'NA';
$this->webhook_channel = '#NA';
}

}
Expand Down

0 comments on commit ed06f32

Please sign in to comment.