fix(ui): certificate expiration data is null before starting the DB
This commit is contained in:
parent
fd5b7492f8
commit
c3a440a64e
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@
|
|||
@endif
|
||||
</div>
|
||||
</div>
|
||||
@if($database->enable_ssl)
|
||||
@if($database->enable_ssl && $certificateValidUntil)
|
||||
<span class="text-sm">Valid until:
|
||||
@if(now()->gt($certificateValidUntil))
|
||||
<span class="text-red-500">{{ $certificateValidUntil->format('d.m.Y H:i:s') }} - Expired</span>
|
||||
|
|
|
|||
Loading…
Reference in a new issue