mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-14 00:16:42 +00:00
wip
This commit is contained in:
1 parent
dedcc80501
commit
9bbf25b9f4
10 files changed
+80
-66
No files matched your search
@@ -61,7 +61,6 @@ class General extends Component
|
||||
}
|
||||
public function mount()
|
||||
{
|
||||
$this->application = Application::where('id', $this->applicationId)->with('destination', 'settings')->firstOrFail();
|
||||
$this->is_static = $this->application->settings->is_static;
|
||||
$this->is_git_submodules_allowed = $this->application->settings->is_git_submodules_allowed;
|
||||
$this->is_git_lfs_allowed = $this->application->settings->is_git_lfs_allowed;
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Livewire\Project\Application;
|
||||
|
||||
use App\Models\Application;
|
||||
use Livewire\Component;
|
||||
|
||||
class Previews extends Component
|
||||
{
|
||||
public Application $application;
|
||||
public function render()
|
||||
{
|
||||
return view('livewire.project.application.previews');
|
||||
}
|
||||
}
|
||||
@@ -15,10 +15,7 @@ class Source extends Component
|
||||
'application.git_branch' => 'required',
|
||||
'application.git_commit_sha' => 'nullable',
|
||||
];
|
||||
public function mount()
|
||||
{
|
||||
$this->application = Application::where('id', $this->applicationId)->first();
|
||||
}
|
||||
|
||||
public function submit()
|
||||
{
|
||||
$this->validate();
|
||||
|
||||
Reference in new issue
Block a user