atrr option cat

This commit is contained in:
merdan 2022-05-16 15:55:03 +05:00
parent 2081122fd0
commit 75011da9b3
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ class Attribute extends JsonResource
'id' => $this->id,
'code' => $this->code,
'name' => $this->name ?? $this->admin_name,
'options' => AttributeOption::collection($this->options()->take(20)->get()),
// 'options' => AttributeOption::collection($this->options()->take(20)->get()),
];
}