mirror of
https://github.com/tiennm99/coolify.git
synced 2026-09-20 04:23:16 +00:00
chore: inspect commit message guidance
This commit is contained in:
1 parent
0c6a233b27
commit
6da907f1c8
4 files changed
+289
-208
No files matched your search
@@ -76,6 +76,8 @@ class Change extends Component
|
||||
|
||||
public string $manifestState = '';
|
||||
|
||||
public string $activeTab = 'general';
|
||||
|
||||
protected function rules(): array
|
||||
{
|
||||
return [
|
||||
@@ -263,10 +265,18 @@ class Change extends Component
|
||||
}
|
||||
}
|
||||
$this->parameters = get_route_parameters();
|
||||
$routeName = request()->route()?->getName();
|
||||
if ($routeName === 'source.github.permissions') {
|
||||
$this->activeTab = 'permissions';
|
||||
} elseif ($routeName === 'source.github.resources') {
|
||||
$this->activeTab = 'resources';
|
||||
} else {
|
||||
$this->activeTab = 'general';
|
||||
}
|
||||
if (isCloud() && ! isDev()) {
|
||||
$this->webhook_endpoint = config('app.url');
|
||||
} else {
|
||||
$this->webhook_endpoint = $this->fqdn ?? $this->ipv4 ?? '';
|
||||
$this->webhook_endpoint = $this->fqdn ?? $this->ipv4 ?? $this->ipv6 ?? config('app.url') ?? '';
|
||||
$this->is_system_wide = $this->github_app->is_system_wide;
|
||||
}
|
||||
} catch (\Throwable $e) {
|
||||
|
||||
Reference in new issue
Block a user