mirror of
https://github.com/ershisan99/coolify.git
synced 2025-12-24 04:59:32 +00:00
Only set name if it is actually set in the settings
This commit is contained in:
@@ -22,8 +22,12 @@
|
|||||||
$name = null;
|
$name = null;
|
||||||
|
|
||||||
if($instanceSettings) {
|
if($instanceSettings) {
|
||||||
|
$displayName = $instanceSettings->getTitleDisplayName();
|
||||||
|
|
||||||
|
if(strlen($displayName) > 0) {
|
||||||
$name = $instanceSettings->getTitleDisplayName() . ' ';
|
$name = $instanceSettings->getTitleDisplayName() . ' ';
|
||||||
}
|
}
|
||||||
|
}
|
||||||
@endphp
|
@endphp
|
||||||
<title>{{ $name }}{{ $title ?? 'Coolify' }}</title>
|
<title>{{ $name }}{{ $title ?? 'Coolify' }}</title>
|
||||||
@env('local')
|
@env('local')
|
||||||
|
|||||||
Reference in New Issue
Block a user