save things

This commit is contained in:
Andras Bacsai
2023-05-08 13:36:49 +02:00
parent dfecf2cc60
commit d77d32853f
22 changed files with 240 additions and 18 deletions

View File

@@ -130,12 +130,12 @@ class GithubPrivateRepository extends Component
'environment_name' => $environment->name
]);
} catch (\Exception $e) {
$this->emit('error', $e->getMessage());
return generalErrorHandlerLivewire($e, $this);
}
}
public function mount()
{
$this->parameters = saveParameters();
$this->parameters = getParameters();
$this->repositories = $this->branches = $this->servers = $this->destinations = collect();
$this->github_apps = GithubApp::private();
}