Skip to content

Commit 711ad5f

Browse files
committed
sidebar item id
1 parent b41bdeb commit 711ad5f

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('places::global.name'), function (SidebarItem $item) {
16+
$item->id = 'places';
1617
$item->icon = config('typicms.places.sidebar.icon', 'icon fa fa-fw fa-map-marker');
1718
$item->weight = config('typicms.places.sidebar.weight');
1819
$item->route('admin::index-places');

0 commit comments

Comments
 (0)