fix
This commit is contained in:
parent
87547d5622
commit
eaf31eb946
@ -6,7 +6,7 @@ use Illuminate\Database\Eloquent\Casts\Attribute;
|
|||||||
|
|
||||||
class GithubApp extends BaseModel
|
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 $appends = ['type'];
|
||||||
protected $casts = [
|
protected $casts = [
|
||||||
'is_public' => 'boolean',
|
'is_public' => 'boolean',
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
<div class="flex flex-col gap-2" wire:init='load_deployments'
|
<div class="flex flex-col gap-2" wire:init='load_deployments'
|
||||||
@if ($skip == 0) wire:poll.5000ms='reload_deployments' @endif>
|
@if ($skip == 0) wire:poll.5000ms='reload_deployments' @endif>
|
||||||
<h2 class="pt-4">Deployments <span class="text-xs">({{ $deployments_count }})</span></h2>
|
<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 wire:click="load_deployments({{ $default_take }})">Load Deployments
|
||||||
</x-forms.button>
|
</x-forms.button>
|
||||||
@endif
|
@endif --}}
|
||||||
@if ($show_next)
|
@if ($show_next)
|
||||||
<x-forms.button wire:click="load_deployments({{ $default_take }})">Show More
|
<x-forms.button wire:click="load_deployments({{ $default_take }})">Show More
|
||||||
</x-forms.button>
|
</x-forms.button>
|
||||||
|
@ -70,7 +70,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="flex gap-2">
|
<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_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" />
|
<x-forms.input id="github_app.webhook_secret" label="Webhook Secret" type="password" />
|
||||||
</div>
|
</div>
|
||||||
<x-forms.checkbox noDirty label="System Wide?"
|
<x-forms.checkbox noDirty label="System Wide?"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user