From e1d3be5fc919da97aa3c582a59437e8b5cb275ad Mon Sep 17 00:00:00 2001 From: Pedro Cunha Date: Fri, 29 Nov 2024 23:42:25 +0000 Subject: [PATCH] fix: further optimize mod list page --- resources/views/mod/list.blade.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/views/mod/list.blade.php b/resources/views/mod/list.blade.php index 3a46d2fa..76f2a9b9 100644 --- a/resources/views/mod/list.blade.php +++ b/resources/views/mod/list.blade.php @@ -46,8 +46,7 @@ ({{ $mod->name }}) @endif
- Latest - Version: {{ $mod->latestVersion ? $mod->latestVersion->version : "N/A" }} + Latest version: {{ $mod->latestVersion?->version ?? "N/A" }} {{ !empty($mod->author) ? $mod->author : "N/A" }}