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.

fix

Andras Bacsaiff4eed53426d
diff --git a/app/Models/Application.php b/app/Models/Application.php
index 2b0fc8c364..1648a7dbb2 100644
--- a/app/Models/Application.php
+++ b/app/Models/Application.php
@@ -24,6 +24,7 @@ class Application extends BaseModel
}
protected $fillable = [
'name',
+ 'repository_project_id',
'project_id',
'description',
'git_repository',
diff --git a/resources/views/livewire/project/application/deployments.blade.php b/resources/views/livewire/project/application/deployments.blade.php
index 673a5586e0..1696d17b27 100644
--- a/resources/views/livewire/project/application/deployments.blade.php
+++ b/resources/views/livewire/project/application/deployments.blade.php
@@ -1,10 +1,6 @@
<div class="flex flex-col gap-2" wire:init='load_deployments'
@if ($skip == 0) wire:poll.5000ms='reload_deployments' @endif>
<h2 class="pt-4">Deployments <span class="text-xs">({{ $deployments_count }})</span></h2>
- {{-- @if (count($deployments) === 0)
- <x-forms.button wire:click="load_deployments({{ $default_take }})">Load Deployments
- </x-forms.button>
- @endif --}}
@if ($show_next)
<x-forms.button wire:click="load_deployments({{ $default_take }})">Show More
</x-forms.button>