atrr option cat
This commit is contained in:
parent
2081122fd0
commit
75011da9b3
|
|
@ -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()),
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue