This commit is contained in:
Andras Bacsai 2023-08-27 15:08:53 +02:00
parent aa0c621223
commit 9f10cb2899
2 changed files with 4 additions and 7 deletions

View File

@ -154,7 +154,7 @@ public function selectProxy(string|null $proxyType = null)
public function createNewProject() public function createNewProject()
{ {
$this->createdProject = Project::create([ $this->createdProject = Project::create([
'name' => generate_random_name(), 'name' => "My first project",
'team_id' => currentTeam()->id 'team_id' => currentTeam()->id
]); ]);
$this->currentState = 'create-resource'; $this->currentState = 'create-resource';

View File

@ -7,7 +7,7 @@
</a> </a>
</div> </div>
<div class="pb-4 ">Deploy any public or private git repositories through a GitHub App.</div> <div class="pb-4 ">Deploy any public or private git repositories through a GitHub App.</div>
@if ($github_apps->count() > 0) @if ($github_apps->count() == 0)
<div class="flex flex-col gap-2 pt-10"> <div class="flex flex-col gap-2 pt-10">
@if ($current_step === 'github_apps') @if ($current_step === 'github_apps')
<ul class="pb-10 steps"> <ul class="pb-10 steps">
@ -113,11 +113,8 @@ class="">Loading...</span>
@endif @endif
</div> </div>
@else @else
<div> <div class="hero">
<div>No Git App found.</div> No GitHub Application found. Please create a new GitHub Application.
<a href="/source/new">
<x-forms.button>Add</x-forms.button>
</a>
</div> </div>
@endif @endif
</div> </div>