parent
commit
e5f4d9aafb
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      app/Models/Project.php

+ 1
- 0
app/Models/Project.php View File

80
 
80
 
81
     public function firstListImgUrl(): Attribute
81
     public function firstListImgUrl(): Attribute
82
     {
82
     {
83
+        \Log::info(empty($this->img_url),$this->img_url);
83
         return Attribute::make(
84
         return Attribute::make(
84
             get: fn ($value) => !empty($this->img_url) ? Storage::url($this->img_url[0]) : null,
85
             get: fn ($value) => !empty($this->img_url) ? Storage::url($this->img_url[0]) : null,
85
         );
86
         );