File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,10 +14,10 @@ public function compose(View $view): void
1414 if (Gate::denies ('read places ' )) {
1515 return ;
1616 }
17- $ view ->offsetGet ('sidebar ' )->group (__ (' Content ' ), function (SidebarGroup $ group ): void {
17+ $ view ->offsetGet ('sidebar ' )->group (__ (config ( ' typicms.modules.places.sidebar.group ' , ' Content ') ), function (SidebarGroup $ group ): void {
1818 $ group ->id = 'content ' ;
1919 $ group ->weight = 30 ;
20- $ group ->addItem (__ (' Places ' ), function (SidebarItem $ item ): void {
20+ $ group ->addItem (__ (config ( ' typicms.modules.places.sidebar.label ' , ' Places ') ), function (SidebarItem $ item ): void {
2121 $ item ->id = 'places ' ;
2222 $ item ->icon = config ('typicms.modules.places.sidebar.icon ' );
2323 $ item ->weight = config ('typicms.modules.places.sidebar.weight ' );
You can’t perform that action at this time.
0 commit comments