This commit is contained in:
Andras Bacsai
2023-06-13 11:23:46 +02:00
parent eaf31eb946
commit ff4eed5342
2 changed files with 1 additions and 4 deletions

View File

@@ -24,6 +24,7 @@ class Application extends BaseModel
} }
protected $fillable = [ protected $fillable = [
'name', 'name',
'repository_project_id',
'project_id', 'project_id',
'description', 'description',
'git_repository', 'git_repository',

View File

@@ -1,10 +1,6 @@
<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)
<x-forms.button wire:click="load_deployments({{ $default_take }})">Load Deployments
</x-forms.button>
@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>