code improvements

This commit is contained in:
Andras Bacsai
2023-06-30 11:42:59 +02:00
parent 4daa10d38b
commit b370826624
11 changed files with 62 additions and 15 deletions

View File

@@ -1,5 +1,4 @@
<div class="flex flex-col gap-2" wire:init='load_deployments'
@if ($skip == 0) wire:poll.5000ms='reload_deployments' @endif>
<div class="flex flex-col gap-2" @if ($skip == 0) wire:poll.5000ms='reload_deployments' @endif>
<h2 class="pt-4">Deployments <span class="text-xs">({{ $deployments_count }})</span></h2>
@if ($show_next)
<x-forms.button wire:click="load_deployments({{ $default_take }})">Show More

View File

@@ -1,5 +1,5 @@
<x-layout>
<h1>Deployments</h1>
<livewire:application.heading :application="$application" />
<livewire:project.application.deployments :application_id="$application->id" />
<livewire:project.application.deployments :application="$application" :deployments="$deployments" :deployments_count="$deployments_count" />
</x-layout>