From 5b74fd34f564f01346eedb513741e299854f5f78 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Wed, 11 Oct 2023 12:12:25 +0200 Subject: [PATCH] fix: instant save build pack change --- app/Http/Livewire/Project/Application/General.php | 3 +++ resources/views/livewire/project/application/general.blade.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/Http/Livewire/Project/Application/General.php b/app/Http/Livewire/Project/Application/General.php index 27e30ac18..acc377094 100644 --- a/app/Http/Livewire/Project/Application/General.php +++ b/app/Http/Livewire/Project/Application/General.php @@ -76,6 +76,9 @@ class General extends Component ]; + public function updatedApplicationBuildPack(){ + $this->submit(); + } public function instantSave() { // @TODO: find another way - if possible diff --git a/resources/views/livewire/project/application/general.blade.php b/resources/views/livewire/project/application/general.blade.php index c156645a9..2962cdaa9 100644 --- a/resources/views/livewire/project/application/general.blade.php +++ b/resources/views/livewire/project/application/general.blade.php @@ -21,7 +21,7 @@ @if (!$application->dockerfile)
- +