From 3db9a1dd6e9b9a156ea1128da9f2f571eaad712f Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Wed, 6 Sep 2023 15:26:17 +0200 Subject: [PATCH 1/2] version++ --- app/Notifications/Test.php | 2 +- config/sentry.php | 2 +- config/version.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Notifications/Test.php b/app/Notifications/Test.php index 685434cb2..0b47d74b2 100644 --- a/app/Notifications/Test.php +++ b/app/Notifications/Test.php @@ -45,7 +45,7 @@ class Test extends Notification implements ShouldQueue "buttons" => [ [ "text" => "Go to your dashboard", - "url" => 'https://coolify.io' + "url" => base_url() ] ], ]; diff --git a/config/sentry.php b/config/sentry.php index 7b993b0d9..ea6317851 100644 --- a/config/sentry.php +++ b/config/sentry.php @@ -7,7 +7,7 @@ return [ // The release version of your application // Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD')) - 'release' => '4.0.0-beta.24', + 'release' => '4.0.0-beta.25', 'server_name' => env('APP_ID', 'coolify'), // When left empty or `null` the Laravel environment will be used 'environment' => config('app.env'), diff --git a/config/version.php b/config/version.php index 54f276a01..03ee49dc6 100644 --- a/config/version.php +++ b/config/version.php @@ -1,3 +1,3 @@ Date: Thu, 7 Sep 2023 08:48:16 +0200 Subject: [PATCH 2/2] fix: saveModel email settings --- app/Http/Livewire/Notifications/EmailSettings.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/app/Http/Livewire/Notifications/EmailSettings.php b/app/Http/Livewire/Notifications/EmailSettings.php index 4ddfaf87f..4ef735a04 100644 --- a/app/Http/Livewire/Notifications/EmailSettings.php +++ b/app/Http/Livewire/Notifications/EmailSettings.php @@ -107,7 +107,14 @@ class EmailSettings extends Component return general_error_handler($e, $this); } } - + public function saveModel() + { + $this->team->save(); + if (is_a($this->team, Team::class)) { + refreshSession(); + } + $this->emit('success', 'Settings saved.'); + } public function submit() { try {