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 Bacsaieaf31eb946a3
diff --git a/app/Models/GithubApp.php b/app/Models/GithubApp.php
index 6c858a35d3..ff7d30fac3 100644
--- a/app/Models/GithubApp.php
+++ b/app/Models/GithubApp.php
@@ -6,7 +6,7 @@ use Illuminate\Database\Eloquent\Casts\Attribute;
class GithubApp extends BaseModel
{
- protected $fillable = ['name', 'uuid', 'organization', 'api_url', 'html_url', 'custom_user', 'custom_port', 'team_id'];
+ protected $fillable = ['name', 'uuid', 'organization', 'api_url', 'html_url', 'custom_user', 'custom_port', 'team_id', 'client_secret', 'webhook_secret'];
protected $appends = ['type'];
protected $casts = [
'is_public' => 'boolean',
diff --git a/resources/views/livewire/project/application/deployments.blade.php b/resources/views/livewire/project/application/deployments.blade.php
index 67765c35e8..673a5586e0 100644
--- a/resources/views/livewire/project/application/deployments.blade.php
+++ b/resources/views/livewire/project/application/deployments.blade.php
@@ -1,10 +1,10 @@
<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)
+ {{-- @if (count($deployments) === 0)
<x-forms.button wire:click="load_deployments({{ $default_take }})">Load Deployments
</x-forms.button>
- @endif
+ @endif --}}
@if ($show_next)
<x-forms.button wire:click="load_deployments({{ $default_take }})">Show More
</x-forms.button>
diff --git a/resources/views/livewire/source/github/change.blade.php b/resources/views/livewire/source/github/change.blade.php
index 14909f9b2f..8d29b55065 100644
--- a/resources/views/livewire/source/github/change.blade.php
+++ b/resources/views/livewire/source/github/change.blade.php
@@ -70,7 +70,7 @@
</div>
<div class="flex gap-2">
<x-forms.input id="github_app.client_id" label="Client Id" type="password" disabled />
- <x-forms.input id="github_app.client_secret" label="Client Secret" type="password" disabled />
+ <x-forms.input id="github_app.client_secret" label="Client Secret" type="password" />
<x-forms.input id="github_app.webhook_secret" label="Webhook Secret" type="password" />
</div>
<x-forms.checkbox noDirty label="System Wide?"