mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-09 14:56:13 -06:00
fixed advs settings
This commit is contained in:
parent
61a7bbcad6
commit
1dfaa08757
@ -98,7 +98,7 @@ return [
|
|||||||
'type' => 'anomaly.field_type.checkboxes',
|
'type' => 'anomaly.field_type.checkboxes',
|
||||||
'config' => [
|
'config' => [
|
||||||
'options' => function (\Visiosoft\CatsModule\Category\Contract\CategoryRepositoryInterface $categoryRepository) {
|
'options' => function (\Visiosoft\CatsModule\Category\Contract\CategoryRepositoryInterface $categoryRepository) {
|
||||||
return $categoryRepository->mainCats()->pluck('name', 'id')->all();
|
return $categoryRepository->getMainCategories()->pluck('name', 'id')->all();
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user