Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

Remove unnecessary code and update services list loading

Andras Bacsai16261fc36e7c
diff --git a/app/Http/Livewire/Project/New/Select.php b/app/Http/Livewire/Project/New/Select.php
index a4b80ce697..934afd9df1 100644
--- a/app/Http/Livewire/Project/New/Select.php
+++ b/app/Http/Livewire/Project/New/Select.php
@@ -47,7 +47,6 @@ class Select extends Component
}
public function render()
{
- $this->loadServices();
return view('livewire.project.new.select');
}
diff --git a/resources/views/livewire/project/new/select.blade.php b/resources/views/livewire/project/new/select.blade.php
index 05b1aa6db4..9ffa76e74b 100644
--- a/resources/views/livewire/project/new/select.blade.php
+++ b/resources/views/livewire/project/new/select.blade.php
@@ -145,7 +145,7 @@
</div>
</div> --}}
</div>
- <div class="flex items-center gap-2">
+ <div class="flex items-center gap-2" wire:init='loadServices(true)'>
<h2 class="py-4">Services</h2>
<x-forms.button wire:click='loadServices(true)'>Reload Services List</x-forms.button>
<input