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()
{
$this->createdProject = Project::create([
'name' => generate_random_name(),
'name' => "My first project",
'team_id' => currentTeam()->id
]);
$this->currentState = 'create-resource';

View File

@ -7,7 +7,7 @@
</a>
</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">
@if ($current_step === 'github_apps')
<ul class="pb-10 steps">
@ -113,11 +113,8 @@ class="">Loading...</span>
@endif
</div>
@else
<div>
<div>No Git App found.</div>
<a href="/source/new">
<x-forms.button>Add</x-forms.button>
</a>
<div class="hero">
No GitHub Application found. Please create a new GitHub Application.
</div>
@endif
</div>