File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ public function getTreeRecordDescription(?Model $record = null): string|HtmlStri
115
115
}
116
116
117
117
$ description = $ this ->getMenuItemTypeDescription ($ record );
118
-
118
+
119
119
// Add visibility indicator if hidden
120
120
if (! $ record ->is_visible ) {
121
121
$ hiddenText = flexiblePagesTrans ('menu_items.status.hidden ' );
@@ -129,15 +129,15 @@ public function getTreeRecordDescription(?Model $record = null): string|HtmlStri
129
129
protected function getMenuItemTypeDescription (MenuItem $ record ): string
130
130
{
131
131
if ($ record ->linkable_type && $ record ->linkable ) {
132
- return flexiblePagesTrans ('menu_items.tree.linked_to ' ) . ' ' . class_basename ($ record ->linkable_type );
132
+ return flexiblePagesTrans ('menu_items.tree.linked_to ' ). ' ' . class_basename ($ record ->linkable_type );
133
133
}
134
134
135
135
if ($ record ->url ) {
136
- return flexiblePagesTrans ('menu_items.tree.external_url ' ) . ': ' . $ record ->url ;
136
+ return flexiblePagesTrans ('menu_items.tree.external_url ' ). ': ' . $ record ->url ;
137
137
}
138
138
139
139
if ($ record ->route ) {
140
- return flexiblePagesTrans ('menu_items.tree.route ' ) . ': ' . $ record ->route ;
140
+ return flexiblePagesTrans ('menu_items.tree.route ' ). ': ' . $ record ->route ;
141
141
}
142
142
143
143
return flexiblePagesTrans ('menu_items.tree.no_link ' );
You can’t perform that action at this time.
0 commit comments