save things
This commit is contained in:
@@ -23,7 +23,7 @@ class Deploy extends Component
|
||||
|
||||
public function mount()
|
||||
{
|
||||
$this->parameters = saveParameters();
|
||||
$this->parameters = getParameters();
|
||||
$this->application = Application::where('id', $this->applicationId)->first();
|
||||
$this->destination = $this->application->destination->getMorphClass()::where('id', $this->application->destination->id)->first();
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ class Add extends Component
|
||||
];
|
||||
public function mount()
|
||||
{
|
||||
$this->parameters = saveParameters();
|
||||
$this->parameters = getParameters();
|
||||
}
|
||||
public function submit()
|
||||
{
|
||||
|
||||
@@ -20,7 +20,7 @@ class Show extends Component
|
||||
];
|
||||
public function mount()
|
||||
{
|
||||
$this->parameters = saveParameters();
|
||||
$this->parameters = getParameters();
|
||||
}
|
||||
public function submit()
|
||||
{
|
||||
|
||||
@@ -23,7 +23,7 @@ class Add extends Component
|
||||
];
|
||||
public function mount()
|
||||
{
|
||||
$this->parameters = saveParameters();
|
||||
$this->parameters = getParameters();
|
||||
}
|
||||
public function submit()
|
||||
{
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ class PublicGitRepository extends Component
|
||||
$this->public_repository_url = 'https://github.com/coollabsio/coolify-examples/tree/nodejs-fastify';
|
||||
$this->port = 3000;
|
||||
}
|
||||
$this->parameters = saveParameters();
|
||||
$this->parameters = getParameters();
|
||||
$this->servers = session('currentTeam')->load(['servers'])->servers;
|
||||
}
|
||||
public function chooseServer($server)
|
||||
|
||||
Reference in New Issue
Block a user