notifications ready fx11
This commit is contained in:
parent
ca4986dec3
commit
f4e2bf9b78
|
|
@ -22,7 +22,7 @@ class Category extends JsonResource
|
||||||
'slug' => $this->slug,
|
'slug' => $this->slug,
|
||||||
'display_mode' => $this->display_mode,
|
'display_mode' => $this->display_mode,
|
||||||
'image_url' => $this->image_url,
|
'image_url' => $this->image_url,
|
||||||
'vendors' => CategoryVendor::collection($this->vendors),
|
'vendors' => $this->vendors?CategoryVendor::collection($this->vendors):null,
|
||||||
'category_icon_path' => $this->category_icon_path
|
'category_icon_path' => $this->category_icon_path
|
||||||
? Storage::url($this->category_icon_path)
|
? Storage::url($this->category_icon_path)
|
||||||
: null,
|
: null,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue