Update
This commit is contained in:
@@ -277,7 +277,8 @@ class NavigationSeeder extends Seeder
|
|||||||
if (isset($menuItemData['children'])) {
|
if (isset($menuItemData['children'])) {
|
||||||
foreach ($menuItemData['children'] as $childData) {
|
foreach ($menuItemData['children'] as $childData) {
|
||||||
$menuItemChildren = Navigations::updateOrCreate([
|
$menuItemChildren = Navigations::updateOrCreate([
|
||||||
'title' => $childData['title']
|
'title' => $childData['title'],
|
||||||
|
'permission' => $childData['permission']
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'title' => $childData['title'],
|
'title' => $childData['title'],
|
||||||
|
|||||||
Reference in New Issue
Block a user