This commit is contained in:
Andras Bacsai
2023-05-08 14:31:18 +02:00
parent d77d32853f
commit d3bf1137d7
2 changed files with 19 additions and 1 deletions

View File

@@ -50,6 +50,10 @@ class Change extends Component
}
public function mount()
{
$settings = InstanceSettings::first();
if ($settings->fqdn) {
$this->host = $settings->fqdn;
}
$this->parameters = getParameters();
$this->github_app = GithubApp::where('uuid', $this->parameters['github_app_uuid'])->first();
$this->is_system_wide = $this->github_app->is_system_wide;