From 637438ccf63e1af92ca045a844eb1c88d3bd6b25 Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 21 Mar 2023 20:00:11 -0700 Subject: [PATCH] Added select2 to slack settings Signed-off-by: snipe --- app/Http/Livewire/SlackSettingsForm.php | 2 +- .../livewire/slack-settings-form.blade.php | 26 +++++++++++++++++-- 2 files changed, 25 insertions(+), 3 deletions(-) diff --git a/app/Http/Livewire/SlackSettingsForm.php b/app/Http/Livewire/SlackSettingsForm.php index 4f8b33ac05..52a76c79f4 100644 --- a/app/Http/Livewire/SlackSettingsForm.php +++ b/app/Http/Livewire/SlackSettingsForm.php @@ -5,6 +5,7 @@ namespace App\Http\Livewire; use GuzzleHttp\Client; use Livewire\Component; use App\Models\Setting; +use App\Helpers\Helper; class SlackSettingsForm extends Component { @@ -125,7 +126,6 @@ class SlackSettingsForm extends Component return session()->flash('error' , trans('admin/settings/message.webhook.error', ['error_message' => $e->getMessage(), 'app' => $this->webhook_name])); } - //} return session()->flash('error' , trans('admin/settings/message.webhook.error_misc')); } diff --git a/resources/views/livewire/slack-settings-form.blade.php b/resources/views/livewire/slack-settings-form.blade.php index 08ef670b12..21fa998de3 100644 --- a/resources/views/livewire/slack-settings-form.blade.php +++ b/resources/views/livewire/slack-settings-form.blade.php @@ -57,8 +57,8 @@ {{ trans('general.integration_option') }} -
- @@ -159,3 +159,25 @@
+ + +@section('moar_scripts') + +@endsection + +