wip: test rename GitHub app
This commit is contained in:
@@ -142,6 +142,11 @@ class Change extends Component
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getUpdatePath()
|
||||||
|
{
|
||||||
|
return "{$this->github_app->html_url}/settings/apps/{$this->github_app->app_id}";
|
||||||
|
}
|
||||||
|
|
||||||
public function submit()
|
public function submit()
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
@@ -58,7 +58,15 @@
|
|||||||
@else
|
@else
|
||||||
<div class="flex flex-col gap-2">
|
<div class="flex flex-col gap-2">
|
||||||
<div class="flex 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
|
<x-forms.input id="github_app.organization" label="Organization" disabled
|
||||||
placeholder="If empty, personal user will be used" />
|
placeholder="If empty, personal user will be used" />
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user