wip: test rename GitHub app
This commit is contained in:
parent
669293afc1
commit
c74728162e
2 changed files with 14 additions and 1 deletions
|
|
@ -142,6 +142,11 @@ public function mount()
|
|||
}
|
||||
}
|
||||
|
||||
public function getUpdatePath()
|
||||
{
|
||||
return "{$this->github_app->html_url}/settings/apps/{$this->github_app->app_id}";
|
||||
}
|
||||
|
||||
public function submit()
|
||||
{
|
||||
try {
|
||||
|
|
|
|||
|
|
@ -58,7 +58,15 @@
|
|||
@else
|
||||
<div class="flex flex-col gap-2">
|
||||
<div class="flex gap-2">
|
||||
<x-forms.input id="github_app.name" label="App Name" disabled />
|
||||
<div class="flex items-end gap-2 w-full">
|
||||
<x-forms.input id="github_app.name" label="App Name" disabled />
|
||||
<a href="{{ $this->getUpdatePath() }}">
|
||||
<x-forms.button>
|
||||
Update
|
||||
<x-external-link />
|
||||
</x-forms.button>
|
||||
</a>
|
||||
</div>
|
||||
<x-forms.input id="github_app.organization" label="Organization" disabled
|
||||
placeholder="If empty, personal user will be used" />
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue