Skip to content

Commit 3eaf797

Browse files
committed
sidebar item id
1 parent 8e411c2 commit 3eaf797

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Composers/SidebarViewComposer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ public function compose(View $view)
1313
{
1414
$view->sidebar->group(trans('global.menus.content'), function (SidebarGroup $group) {
1515
$group->addItem(trans('objects::global.name'), function (SidebarItem $item) {
16+
$item->id = 'objects';
1617
$item->icon = config('typicms.objects.sidebar.icon');
1718
$item->weight = config('typicms.objects.sidebar.weight');
1819
$item->route('admin::index-objects');

0 commit comments

Comments
 (0)