logs ot fixes in executeNow.

errors handled properly, etc.
This commit is contained in:
Andras Bacsai
2023-04-14 21:09:38 +02:00
parent 14919980c2
commit 46a543441f
9 changed files with 157 additions and 68 deletions

View File

@@ -0,0 +1,29 @@
<?php
namespace App\Http\Livewire;
use App\Models\Application;
use Livewire\Component;
class ApplicationForm extends Component
{
protected Application $application;
public string $applicationId;
public string $name;
public string|null $fqdn;
public string $git_repository;
public string $git_branch;
public string|null $git_commit_sha;
public function mount() {
$this->application = Application::find($this->applicationId);
$this->fill([
'name' => $this->application->name,
'fqdn' => $this->application->fqdn,
'git_repository' => $this->application->git_repository,
'git_branch' => $this->application->git_branch,
'git_commit_sha' => $this->application->git_commit_sha,
]);
}
}