File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ public function getTitle(): string
70
70
71
71
public function getBreadcrumb (): string
72
72
{
73
+ //TODO fix
73
74
return flexiblePagesTrans ('menu_items.manage.breadcrumb ' );
74
75
}
75
76
@@ -87,9 +88,11 @@ public static function getInfolistColumns(): array
87
88
{
88
89
return [
89
90
IconEntry::make ('is_visible ' )
90
- ->icon (fn (bool $ state ): string => $ state ? '' : 'heroicon-o-eye-slash ' )
91
+ ->label ('' )
92
+ ->icon (fn (bool $ state ): string => $ state ? 'heroicon-o-eye ' : 'heroicon-o-eye-slash ' )
91
93
->color (fn (bool $ state ): string => $ state ? 'gray ' : 'warning ' )
92
94
->tooltip (fn (bool $ state ): ?string => $ state ? null : flexiblePagesTrans ('menu_items.status.hidden ' ))
95
+ ->hidden (fn (bool $ state ): bool => $ state )
93
96
->size ('sm ' ),
94
97
];
95
98
}
You can’t perform that action at this time.
0 commit comments