From e713e8571cab91040a2aa1c6906fac016a2f2eaa Mon Sep 17 00:00:00 2001 From: caoyanyi Date: Tue, 17 Dec 2024 16:49:00 +0800 Subject: [PATCH] * [bug#58286] adjust instance logo. --- module/instance/ui/view.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/instance/ui/view.html.php b/module/instance/ui/view.html.php index 4fe8794b9c..0febd1fd16 100644 --- a/module/instance/ui/view.html.php +++ b/module/instance/ui/view.html.php @@ -108,7 +108,7 @@ div div ( setClass('flex basis-full'), - $type === 'store' ? img(set::src($instance->logo), setStyle(array('width' => '50px', 'height' => '50px'))) : null, + $type === 'store' && !empty($instance->logo) ? img(set::src($instance->logo), setStyle(array('width' => '50px', 'height' => '50px'))) : null, div ( setClass(($type === 'store' ? 'ml-3' : '') . ' flex col gap-y-1 basis-full'),